Quick start
UseBubbleMenu.LinkDefault to add an inline link editing toolbar.
How it works
When you click on a link in the editor, the link bubble menu appears with:- Edit button: Opens an inline form to change the URL
- Open button: Opens the link in a new tab
- Unlink button: Removes the link, keeping the text
Cmd+K (or Ctrl+K on Windows/Linux).
Bubble menu
When combining the link bubble menu withBubbleMenu.Default, use hideWhenActiveMarks to prevent
the text bubble menu from appearing when a link is focused.
hideWhenActiveMarks, both menus will try to show at the same time when a link is selected.
HTML content with links
When using HTML strings as content,<a> tags are automatically parsed into the editor’s
link model.
StarterKit with openOnClick disabled by default.
This means that clicking a link in edit mode focuses it rather than navigating away.
Examples
See link editing in action with a runnable example:Link Editing
Inline link editing with Cmd+K support.