Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Html Editor in Classic (Read 1868 times) previous topic - next topic

Html Editor in Classic

By activating the Html editor SummerNote in the Classic version, the program writes in assets / js / script.js the following code:
Code: [Select]
<script type="text/javascript">
$('textarea.htmleditor').summernote();
</script>
This causes a hang and the html editor is not displayed.
By removing the script tag, it works correctly and the Html editor then appears:
Code: [Select]
$('textarea.htmleditor').summernote();

Re: Html Editor in Classic

Reply #1
change to
<SYSCOMP id="htmleditorplugininit">            
$('textarea.htmleditor').summernote();</SYSCOMP>
in material.xml solved the overwrite on every publish

Re: Html Editor in Classic

Reply #2
Wow, that's genius. Thanks for the update. This one slipped under us during the test.

Thanks