MSEdgeExplainers
MSEdgeExplainers copied to clipboard
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
Is this script still maintained?