Skip to content

Content (HTML attr)/IDL (JS property) attribute events not synced to textarea #187

Description

@WebCoder49

Events are currently only synced from the code-input element to its contained textarea if addEventListener() is called. If events are defined in HTML markup as content attributes (<code-input onblur="foo()">), or as JavaScript properties AKA IDL attributes (codeInputElement.onblur = foo), they don't get passed on.

Some events like selectionchange work because they get bubbled up by default, but others like blur do not.

After a fix is implemented adding this to the tests should be on the TODO list.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:coreA bug/feature for the core code-input.js/code-input.css filesbugSomething isn't workingpriority:high

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions