mirror of
https://github.com/tim-krehan/shopping-list.git
synced 2024-11-23 22:30:41 +01:00
update editor and size of table column
This commit is contained in:
parent
752f4ffc9b
commit
fc36704463
2 changed files with 14 additions and 2 deletions
|
@ -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, "
|
||||
|
|
|
@ -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']]
|
||||
]
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue