-
-
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
When clicking the tooltip inline tool, the tooltip input either closes immediately or does not work as expected.
Even when the input stays open, typing tooltip text and pressing Enter does not apply the tooltip.
This makes the tooltip tool unusable in normal editing flow.
Steps to Reproduce
- Initialize Editor.js with
editorjs-tooltip - Type some text in a paragraph
- Select a word
- Click the tooltip icon in the inline toolbar
Current Behavior
- Tooltip input closes immediately after clicking the tooltip icon
OR - Tooltip input opens but:
- typing text does nothing
- pressing Enter does not apply the tooltip
- Tooltip is not created or applied to the selected text
1226.mp4
Expected Behavior
- Clicking the tooltip icon should keep the tooltip input open
- Tooltip input should stay focused
- Typing tooltip text and pressing Enter should apply the tooltip to the selected text
- Tooltip tool should not close unexpectedly
Environment
- Editor.js version: 2.x
- editorjs-tooltip version: 1.2.2
- Browser: Chrome (latest)
- Framework: React (Vite)
1226.mp4
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
⛑ Needs triageSomeone is checkingSomeone is checking🐞 BugSomething isn't workingSomething isn't working