Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Improve key events being listened to in plugins #197

Open
Labels
area:coreA bug/feature for the core code-input.js/code-input.css files breaking-change bugSomething isn't working priority:high
Milestone

Description

Key events used in plugins are not always the best choices. For example, keydown is listened to for enter key presses to create newlines in the indent plugin, but beforeinput or input would be better and allow for external code to intercept enter key presses differently with preventDefault. The code for this is here and used for Ctrl+Enter functionality here.

This is a breaking change which would interfere with code using the library and other plugins, but would allow functionality otherwise impossible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:coreA bug/feature for the core code-input.js/code-input.css files breaking-change bugSomething isn't working priority:high

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /