🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@editora/anchor

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@editora/anchor

Anchor plugin for Rich Text Editor - Create named navigation targets

latest
Source
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

@editora/anchor

Version License TypeScript Size

[!IMPORTANT] Live Website: https://editora-ecosystem.netlify.app/
Storybook: https://editora-ecosystem-storybook.netlify.app/

Anchor plugin for Editora rich text editor.

What It Does

  • Inserts named anchor targets in editor content.
  • Provides an insertion dialog to define anchor IDs.
  • Supports keyboard shortcut for quick insertion.
  • Renders visual anchor markers while editing.

Installation

npm install @editora/anchor

Or bundle install:

npm install @editora/plugins

Usage

import { AnchorPlugin } from "@editora/anchor";

const plugins = [AnchorPlugin()];

Toolbar Command and Shortcut

  • Command: insertAnchor
  • Toolbar label: Anchor
  • Shortcut: Mod-Shift-k

Notes

  • Public package entry exports AnchorPlugin.
  • Use together with link support when you need in-document navigation.

Keywords

editor

FAQs

Package last updated on 07 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts