dom-element-is-natively-editable

1.0.4 • Public • Published

dom-element-is-natively-editable

Exports a single function that synchronously returns true if the provided DOM element is supposed to be natively editable.

For, example, will return true provided an input or textarea element or any element that has contentEditable turned on or that is in a document that has designMode turned on.

Package Sidebar

Install

npm i dom-element-is-natively-editable

Weekly Downloads

9

Version

1.0.4

License

BSD-3-Clause

Last publish

Collaborators

  • mightyiam
  • weswinham