Allow rendering the <script>
tag in HTML preview
#8326
Labels
package:html-embed
squad:core
Issue to be handled by the Core team.
type:improvement
This issue reports a possible enhancement of an existing feature.
Milestone
📝 Provide a description of the improvement
Right now, the scripts are being removed because we use the
Element#innerHTML
property for updating the preview container element.ckeditor5/packages/ckeditor5-html-embed/src/htmlembedediting.js
Lines 310 to 319 in 64c87e5
We could parse the HTML string and append a proper structure to the element.
If you'd like to see this improvement implemented, add a 👍 reaction to this post.
The text was updated successfully, but these errors were encountered: