You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it's not that easy to do without issues ^^'
One way could be to replace script tags with something else, only in the view, but keep it in the textarea, which means some transformations between the two, which Trumbowyg doesn't do today.
We want the user to view, edit and add <script> tags but not be able to execute them on preview.
It could lead to some situations like:
How to reproduce?
Navigate to: https://alex-d.github.io/Trumbowyg/demos/
<script>var dteNow = new Date(); var intYear = dteNow.getFullYear(); document.write(intYear);</script>
The text was updated successfully, but these errors were encountered: