From 24ed62d6410683bd6d8776350a4105102810f0a7 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..98d178978 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; }