View Issue Details

IDProjectCategoryView StatusLast Update
0007867WYSIWYG Editor + Media Gallerymodule WYSIWYG Editor + Media Gallery - subpublic2025-12-17 15:12
ReporterOxidSimonGassenschmidt Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status assignedResolutionopen 
Summary0007867: Summernote adjustment per Modul
DescriptionTo make the Summernote code easier to customize via the OXID module, it would be useful to insert several blocks into this template (https://github.com/OXID-eSales/ddoe-wysiwyg-editor-module/blob/v6.0.1/views/twig/ddoewysiwyg.html.twig), as well as to give the autoInitializeSummernote() function a parameter with your own option values for initialization, since Summernote requires destruction and reinitialization for many settings options.
To have a reduced toolbar, you seem to use this as javascript atm, this javascript needs to be put in an own Template and an own Renderer-Service, which overwrites the current one, so the own template is used.

Sample code:
    var $editor = $(‘.ddoe-wysiwyg-editor > textarea’);
    var sn = $editor.data(‘summernote’);
    $editor.summernote(‘destroy’);
sn.options.toolbar = [[‘view’, [‘fullscreen’, ‘codeview’, ‘help’]]];
    $editor.summernote(sn.options);
TagsNo tags attached.

Activities

There are no notes attached to this issue.