npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@soeditor/rich-text

v1.6.0

Published

Command-driven rich-text feature plugins for SoEditor.

Readme

@soeditor/rich-text

Independent command plugins for SoEditor's visual schema: paragraphs, headings, inline and multi-block formatting, nested lists, semantic CMS styles, blockquote/code, links, images, bounded structured tables, and safe figure/media widgets. Plugins delegate document mutation to the typed visual-editing service; toolbar and host code invoke the same commands.

FontPlugin adds command-backed font.color, font.backgroundColor, and font.size inline styling. Values pass through bounded color and size validation before the Visual editing service creates semantic source spans; toolbar controls never mutate projected DOM directly.

SemanticStylesPlugin reads validated per-instance definitions from cms.styles. Inline definitions may use span, mark, small, or kbd; block definitions may select a supported semantic block; structured definitions target a registered object type. Attributes are bounded and reject event handlers, executable URLs, and CSS outside the explicit color/background/font/size allowlist.

LinkPlugin applies an instance-scoped cms.links scheme policy, normalizes safe target/rel values, and accepts optional internal/file targets through linkTargetProviderServiceToken. CmsObjectsPlugin registers bounded atomic objects from cms.objects plus named anchors, page breaks, placeholders, and safe metadata-only embeds through cmsEmbedProviderServiceToken. Provider HTML is never inserted or executed.

TablePlugin supports bounded table/row/cell properties, semantic sections, header scope, captions, responsive metadata, and accessible column resizing. External cell matrices pass through the editor paste pipeline and an execution-safe cell allowlist; internal matrices retain versioned clipboard fidelity. Controlled list operations split, merge, outdent, and exit empty items without relying on browser DOM normalization.

CmsTablePlugin provides the same table commands and services for the native WYSIWYG engine, without the structured-engine DOM node view. The CMS and CMS runtime presets use this plugin so native authoring does not load the legacy renderer. TablePlugin retains that renderer for existing structured-engine consumers; the classic compatibility preset continues to use it. Both plugins have the table plugin ID: select one per editor, rather than installing both.