-
-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
⛑ Needs triageSomeone is checkingSomeone is checking🐞 BugSomething isn't workingSomething isn't working
Description
Description
- Click the tooltip icon
- Not focusing into input field, press 'Enter'.
Environment
- Editor.js version: 2.29.1
- editorjs-tooltip version: 1.2.2
- Device, Browser, OS: Desktop, Google Chrome 128.0.6613.137, Windows 10
Current behavior
'Enter' works on selected word. Line breaks, selected word disappears, tooltip creates with empty word and undefined attribute.


Expected behavior
Prevent user from press Enter, when not focused on input field. Maybe autofocus into input field.
Metadata
Metadata
Assignees
Labels
⛑ Needs triageSomeone is checkingSomeone is checking🐞 BugSomething isn't workingSomething isn't working