From fa3d70bfe845a3485cf0ff3619e5a8c344cb3b40 Mon Sep 17 00:00:00 2001 From: Stuart Date: Mon, 15 Jan 2024 14:08:15 +0000 Subject: [PATCH] Lint --- .../use-sensor-marshal/is-event-in-interactive-element.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/view/use-sensor-marshal/is-event-in-interactive-element.js b/src/view/use-sensor-marshal/is-event-in-interactive-element.js index a598c7b90..0b3b11425 100644 --- a/src/view/use-sensor-marshal/is-event-in-interactive-element.js +++ b/src/view/use-sensor-marshal/is-event-in-interactive-element.js @@ -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; }