Link Plugin
LinkPlugin provides link creation/edit/removal flows.
Install and import
import { LinkPlugin } from "@editora/plugins";
// or: import { LinkPlugin } from "@editora/plugins/link";
Usage
const plugins = [LinkPlugin()];
Command Matrix
| Action | Command | Shortcut | Toolbar |
|---|---|---|---|
| Open link dialog | openLinkDialog | Mod-k | Link |
| Remove link | removeLink | None | Via dialog/command |
| Create link | createLink | None | Internal/dialog flow |
Config Options
This plugin does not expose plugin-level config options.
Mark/attribute model
hreftitletargetrel(noopener noreferrerwhen target is external)
Validation checklist
- Link creation on selected text
- Link edit/remove preserves surrounding formatting
- External links include safe
relhandling