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

@easyx/tiptap-table-plus

v1.0.1

Published

Tiptap 表格增强套件,提供单元格样式、选区覆盖层、节点背景色与中英文右键菜单

Readme

@easyx/tiptap-table-plus

Tiptap 表格增强套件:在原生 Table 之上补充单元格样式、选区覆盖层、节点背景色与中英文上下文菜单,不依赖任何 UI 框架。

npm version license

文档 · 演示 · API 参考

特性

  • 选区覆盖层:表格选区常显边框与加行 / 加列手柄
  • 单元格样式:文字颜色与水平 / 垂直对齐,均为可序列化属性
  • 上下文菜单:行列操作、合并拆分、表头切换与颜色,可增删改
  • 70 色色板:10 色相 × 7 级明度,方向键可导航
  • 块级背景色:任意块级节点可设背景色
  • 国际化:内置 zh-CN / en-US,支持局部翻译覆盖

安装

pnpm add @easyx/tiptap-table-plus

样式以独立 CSS 文件随包提供,并由包入口自动引入,通常无需额外处理。若宿主打包器忽略依赖内的 CSS 导入,再手动引入:

import '@easyx/tiptap-table-plus/styles/table.css';

快速上手

TablePlus 需配合 @tiptap/extension-table 使用,推荐开启 resizable 支持列宽拖拽:

import { Editor } from '@tiptap/core';
import { TableKit } from '@tiptap/extension-table';
import { TablePlus } from '@easyx/tiptap-table-plus';

const editor = new Editor({
  extensions: [
    TableKit.configure({ table: { resizable: true } }),
    TablePlus.configure({ locale: 'zh-CN', theme: 'light' }),
  ],
});

新增命令通过 editor.chain() 调用:

editor.chain().focus().clearSelectedCells().run();
editor.chain().focus().setCellTextColor('#7c3aed').run();

配置项、全部命令与翻译字段见 API 参考。

许可

MIT