Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect contenteditable elements #580

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on May 25, 2022

  1. Detect contenteditable elements

    An element can have the `contenteditable` value "true" but also "" (emty string) or to be editable.
    See: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/contenteditable
    
    But anyway, an easier way to see if it's a contenteditable-root element is to use the property `node.contentEditable`, which has wide support.
    See: https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/contentEditable
    nuxodin authored May 25, 2022
    Configuration menu
    Copy the full SHA
    985deb4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7d5bfba View commit details
    Browse the repository at this point in the history