Skip to content

Feature Request: Ability to disable execution of <script> tags #1492

Open
@SaDaT895

Description

@SaDaT895

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:

Screenshot 2024-10-21 at 15 31 58

How to reproduce?

Navigate to: https://alex-d.github.io/Trumbowyg/demos/

  • Switch to source-formatting and insert: <script>var dteNow = new Date(); var intYear = dteNow.getFullYear(); document.write(intYear);</script>
  • Switch back to preview

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions