diff --git a/install/install_action.php b/install/install_action.php index 8912b2e..34ed740 100644 --- a/install/install_action.php +++ b/install/install_action.php @@ -95,7 +95,7 @@ CREATE TABLE `Rezept` ( `ID` int(11) NOT NULL, `Name` varchar(255) NOT NULL, `Dauer` int(11) NOT NULL, - `Beschreibung` text NOT NULL + `Beschreibung` longtext NOT NULL ) ENGINE = InnoDB CHARSET=utf8mb4 COLLATE utf8mb4_unicode_ci;"); array_push($SQLStatements, " diff --git a/js/manageRecipe.js b/js/manageRecipe.js index f67c197..20f0b65 100644 --- a/js/manageRecipe.js +++ b/js/manageRecipe.js @@ -7,7 +7,19 @@ $(document).ready(function () { $(".autocomplete-ingredient").on("input", autocomplete); $('#recipeDescription').summernote({ - + height: 300, + dialogsFade: true, + codeviewFilter: true, + codeviewIframeFilter: true, + toolbar: [ + ['misc', ['undo', 'redo']], + ['style', ['bold', 'italic', 'underline', 'strikethrough', 'superscript', 'subscript', 'clear']], + ['font', ['color', 'fontsize']], + ['para', ['ul', 'ol', 'paragraph']], + ['table', ['table']], + ['insert', ['link', 'picture', 'video']], + ['view', ['codeview', 'help']] + ] }); });