Link
MMO.editor.tools · 1 symbol · generated 30 Sep 2026
Add, change or remove a link: a small form under the button, filled with the link under the caret.
class MMO.editor.tools.Link extends MMO.editor.PopoverTool- Namespace
MMO.editor.tools- Extends
- PopoverTool
Methods4
renderPopover(editor)apply(editor, url, blank = false)| editor | HTMLElement | |
| url | string | the address; empty removes the link |
| blank = false | boolean | true to open it in a new tab |
getLink(editor)| editor | HTMLElement | |
| returns | ?HTMLAnchorElement | the link holding the selection |
isActive(editor)