Closed apradillap closed 6 years ago
Hello.
CKEditor is a content editor, not Html editor, and we don't support <style>
tags, although with allowedContent = true
your code should work as you expect. After testing it I can't confirm your issue. I've added your template, and allowedConfig
. When calling editor.getData()
it returns content with <style>
tags unchanged unlike in your case.
Could you provide sample with reproducible issue on JS sandbox like codepen.io or jsfiddle.net, so we could investigate that issue?
Hi, It's been a while since we last heard from you. We're closing this issue for now. Still, feel free provide us requested feedback, so that we can reopen this issue.
Type of report
I have these templates (plugin templates):
And then, In assets/javascripts/ckeditor/plugins/templates/templates/default.js
I select last tag but the code is not saved correctly
Provide detailed reproduction steps (if any)
I allowed style tags
Expected result
Actual result
When saving to database (MySQL), replace style tag with p tag
Other details
Thanks!!