Trying to use Shoelace Custom Elements with EditorJS. I can get the elements to render, but I can't use backspace or delete to edit text, using the arrows changes focused block, and tab navigation within the block skips the <sl-input> elements. I have tried tracking down the BACKSPACE keyboard event, but have not figured anything out. It seems to follow the same path through editor.js as a regular input element.
Expect the form elements to behave as normal HTML elements with editability and navigation. Using Shoelace elements directly in the HTML doc demonstrate the expected behavior, but inside an EditorJS instance, backspace, tab, and arrows do no work as expected.
Trying to use Shoelace Custom Elements with EditorJS. I can get the elements to render, but I can't use backspace or delete to edit text, using the arrows changes focused block, and tab navigation within the block skips the
<sl-input>
elements. I have tried tracking down theBACKSPACE
keyboard event, but have not figured anything out. It seems to follow the same path througheditor.js
as a regularinput
element.Steps to reproduce:
Use Shoelace elements in a custom block.
Expected behavior:
Expect the form elements to behave as normal HTML elements with editability and navigation. Using Shoelace elements directly in the HTML doc demonstrate the expected behavior, but inside an EditorJS instance, backspace, tab, and arrows do no work as expected.
Screenshots: MacBook, Firefox, macOS 14.3
Editor.js version: 2.29.0