@editora/plugin-link
v1.0.4
Published
Link plugin for Rich Text Editor
Readme
@editora/plugin-link
[!IMPORTANT] Live Website: https://editora-ecosystem.netlify.app/
Storybook: https://editora-ecosystem-storybook.netlify.app/
Link plugin for Editora rich text editor.
What It Does
- Opens insert/edit link dialog.
- Supports selection-based linking and editing existing anchors.
- Handles URL/target metadata through editor command flow.
Installation
npm install @editora/plugin-linkOr bundled plugins:
npm install @editora/pluginsUsage
import { LinkPlugin } from "@editora/plugin-link";
// or: import { LinkPlugin } from "@editora/plugins";
const plugins = [LinkPlugin()];Command and Shortcut
- Command:
openLinkDialog - Shortcut:
Mod-k
Notes
- Dialog closes on escape and outside interactions when integrated through toolbar runtime.
