Skip to content

Allow attachShadow on <script> and <style> #1064

Open
@bjenik

Description

@bjenik

<script> and <style> can be made visible and interactive using display: block; and contenteditable - more details here https://bjenik.com/hackableeditor/. This request opens up the ability to enhance that interactivity with syntax highlighting and autocomplete by putting a more advanced editor like monaco in the shadow dom for those tags, which at the moment is prevented by the attachShadow allow list.

Metadata

Metadata

Assignees

No one assigned

    Labels

    addition/proposalNew features or enhancementstopic: shadowRelates to shadow trees (as defined in DOM)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions