Skip to main content
Version: 1.0.0

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

ActionCommandShortcutToolbar
Open link dialogopenLinkDialogMod-kLink
Remove linkremoveLinkNoneVia dialog/command
Create linkcreateLinkNoneInternal/dialog flow

Config Options

This plugin does not expose plugin-level config options.

Mark/attribute model

  • href
  • title
  • target
  • rel (noopener noreferrer when target is external)

Validation checklist

  • Link creation on selected text
  • Link edit/remove preserves surrounding formatting
  • External links include safe rel handling