update editor and size of table column

This commit is contained in:
Tim Krehan 2019-06-04 09:56:31 +02:00
parent 752f4ffc9b
commit fc36704463
2 changed files with 14 additions and 2 deletions

View file

@ -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, "

View file

@ -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']]
]
});
});