Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
smbkr committed Jan 15, 2024
1 parent 86b1365 commit 24ed62d
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@ function isAnInteractiveElement(parent: Element, current: ?Element) {
// of creating a contenteditable container
// https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/contenteditable
const attribute: ?string = current.getAttribute('contenteditable');
if (attribute === 'true' || attribute === '' || attribute === "plaintext-only") {
if (
attribute === 'true' ||
attribute === '' ||
attribute === "plaintext-only"
) {
return true;
}

Expand Down

0 comments on commit 24ed62d

Please sign in to comment.