MSEdgeExplainers icon indicating copy to clipboard operation
MSEdgeExplainers copied to clipboard

Detect contenteditable elements

Open nuxodin opened this issue 2 years ago • 1 comments

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 avatar May 25 '22 01:05 nuxodin

Is this script still maintained?

nuxodin avatar Feb 15 '23 01:02 nuxodin