diff --git a/cont/recipe.php b/cont/recipe.php index 2287063..26d28c4 100644 --- a/cont/recipe.php +++ b/cont/recipe.php @@ -35,11 +35,9 @@ } echo ""; - echo "
"; + echo "
"; echo "

Zubereitung

"; - foreach(explode("\r\n", $recipe->Beschreibung) as $paragraph){ - echo "

$paragraph

"; - } + echo $recipe->Beschreibung; echo "
"; echo '
'; diff --git a/js/manageRecipe.js b/js/manageRecipe.js index 20f0b65..7f82335 100644 --- a/js/manageRecipe.js +++ b/js/manageRecipe.js @@ -12,12 +12,12 @@ $(document).ready(function () { codeviewFilter: true, codeviewIframeFilter: true, toolbar: [ - ['misc', ['undo', 'redo']], - ['style', ['bold', 'italic', 'underline', 'strikethrough', 'superscript', 'subscript', 'clear']], + ['style', ['style', 'bold', 'italic', 'underline', 'strikethrough', 'superscript', 'subscript', 'clear']], ['font', ['color', 'fontsize']], ['para', ['ul', 'ol', 'paragraph']], ['table', ['table']], ['insert', ['link', 'picture', 'video']], + ['misc', ['undo', 'redo']], ['view', ['codeview', 'help']] ] }); diff --git a/style/helper.css b/style/helper.css index 5b2d0a6..2a8777d 100644 --- a/style/helper.css +++ b/style/helper.css @@ -30,4 +30,9 @@ .nav-link-font { font-size: 16px !important; +} + +.recipe-card-body iframe{ + height: unset !important; + width: unset !important; } \ No newline at end of file