@ckeditor/ckeditor5-integrations-common

中文文档
3.2.1发布于 2026/10/16SEE LICENSE IN LICENSE.mdTypeScriptESM + CJS零依赖近 30 天下载 141.9万

This package implements common utility modules for integration projects.

原始使用文档
文档目录5 节
  1. Contributing
  2. Running the development server
  3. Executing tests
  4. Building the package
  5. License

CKEditor 5 - Common Integration Utils

npm version CircleCI Coverage Status Dependency Status

Official CKEditor 5 common integration utils. This package contains a set of utilities that are shared between CKEditor 5 framework integrations such like:

The prime example of such shared utility might be the CKEditor 5 Cloud integration loader that is used by all integrations to dynamically load the editor from the CDN.

It's highly recommended to not use this package directly in your application because it's intended to be used by through the integrations listed above. However, if you need to use it directly (because you are using framework that is not supported by the integrations), you can use it as a standalone package, but keep in mind that the API is designed to be used by the integrations and might not be user-friendly.

Contributing

After cloning this repository, install the necessary dependencies:

[!NOTE] This project requires pnpm v12.8.2. You can check your version with pnpm --version and update if needed with npm install -g [email protected].

pnpm install

Running the development server

You can start the development server using the command below:

pnpm run dev

Executing tests

To test the editor integration against a set of automated tests, run the following command:

pnpm run test

If you want to run the tests in watch mode, use the following command:

pnpm run test:watch

Building the package

To build the package that is ready to publish, use the following command:

pnpm run build

License

Licensed under a dual-license model, this software is available under:

For more information, see: https://ckeditor.com/legal/ckeditor-licensing-options.

版本与发布记录

@ckeditor/ckeditor5-integrations-common 共发布 22 个版本,首次发布于 2024/08/19;过去 12 个月发布了 10 个版本。

版本发布日期距今
3.2.1latest2026/10/1624 天前
3.2.02026/09/301 个月前
3.1.02026/09/211 个月前
3.0.02026/09/171 个月前
2.4.12026/06/154 个月前
2.4.02026/05/255 个月前

关于 @ckeditor/ckeditor5-integrations-common 的常见问题

@ckeditor/ckeditor5-integrations-common 是什么?

This package implements common utility modules for integration projects.

如何安装 @ckeditor/ckeditor5-integrations-common?

在项目目录运行 npm install @ckeditor/ckeditor5-integrations-common,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:ckeditor5(>=42.0.0 || ^0.0.0-nightly)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@ckeditor/ckeditor5-integrations-common 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@ckeditor/ckeditor5-integrations-common 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@ckeditor/ckeditor5-integrations-common 可以商用吗?

@ckeditor/ckeditor5-integrations-common 使用 SEE LICENSE IN LICENSE.md 许可。许可条款写在包内的独立文件中,请阅读该文件确认可否商用。以上为概括,不构成法律意见,请以许可原文为准。

@ckeditor/ckeditor5-integrations-common 的下载量有多少?

根据 npm 官方下载统计,@ckeditor/ckeditor5-integrations-common 在 2026/10/10 – 2026/11/08 这 30 天内被下载 1,419,488 次,日均约 47,316 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@ckeditor/ckeditor5-integrations-common 还在维护吗?

最新版本 3.2.1 发布于 2026/10/16(24 天前);至今共发布 22 个版本,其中过去 12 个月发布了 10 个;首次发布于 2024/08/19。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。