@ckeditor/ckeditor5-dev-manual-server

中文文档
63.1.3发布于 2026/11/09GPL-2.0-or-laterTypeScriptES Module近 30 天下载 2668

Used to extend Vite to create a manual test server for CKEditor 5.

原始使用文档
文档目录4 节
  1. Loading translations
  2. Preserving production CSS order
  3. Changelog
  4. License

CKEditor 5 manual server

npm version CircleCI

Used to extend Vite to create a manual test server for CKEditor 5.

More information about development tools packages can be found at the following URL: https://github.com/ckeditor/ckeditor5-dev.

Loading translations

Pass a language code to manualTestsPlugin() to load and combine that language's TypeScript translation files from the configured package paths. The selected language becomes the default UI and content language for editors and contexts created by manual tests.

An explicit language in an editor or context configuration still takes precedence.

manualTestsPlugin( {
    paths: [ 'packages/*' ],
    language: process.env.CK_LANGUAGE || 'en'
} )

For example, start the manual test server in Polish using CK_LANGUAGE=pl pnpm manual.

Preserving production CSS order

Vite may order extracted stylesheets differently from their source imports in multi-page production builds. Add preserveCssImportOrderPlugin() to keep the CSS cascade consistent with the bundled development server:

import { defineConfig } from 'vite';
import {
    manualTestsPlugin,
    preserveCssImportOrderPlugin
} from '@ckeditor/ckeditor5-dev-manual-server';

export default defineConfig( {
    plugins: [
        preserveCssImportOrderPlugin(),
        manualTestsPlugin( {
            paths: [ 'packages/*' ]
        } )
    ]
} );

The plugin enables Rolldown's strict module execution order in development and production, which can increase the generated bundle size. During production builds, it additionally rewrites plain CSS imports into ordered JavaScript side effects.

Changelog

See the CHANGELOG.md file.

License

Licensed under the terms of GNU General Public License Version 2 or later. For full details about the license, please check the LICENSE.md file.

版本与发布记录

@ckeditor/ckeditor5-dev-manual-server 共发布 34 个版本,首次发布于 2026/06/11;过去 12 个月发布了 34 个版本。

版本发布日期距今
63.1.3latest2026/11/09今天
63.1.22026/11/063 天前
63.1.12026/11/027 天前
61.4.0latest-v612026/10/2812 天前
63.1.02026/10/2812 天前
63.0.02026/10/2317 天前

其他发布通道:alpha → 57.0.0-alpha.1,latest-v61 → 61.4.0。

关于 @ckeditor/ckeditor5-dev-manual-server 的常见问题

@ckeditor/ckeditor5-dev-manual-server 是什么?

Used to extend Vite to create a manual test server for CKEditor 5.

如何安装 @ckeditor/ckeditor5-dev-manual-server?

在项目目录运行 npm install @ckeditor/ckeditor5-dev-manual-server,或使用 pnpm add / yarn add / bun add。

@ckeditor/ckeditor5-dev-manual-server 支持 TypeScript 吗?

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

@ckeditor/ckeditor5-dev-manual-server 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@ckeditor/ckeditor5-dev-manual-server 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=26.10.0。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@ckeditor/ckeditor5-dev-manual-server 可以商用吗?

@ckeditor/ckeditor5-dev-manual-server 使用 GPL-2.0-or-later 许可。强 Copyleft:分发包含该代码的软件时,整个作品需以兼容的 GPL 许可开源。仅在内部使用、不对外分发时不触发此义务。以上为概括,不构成法律意见,请以许可原文为准。

@ckeditor/ckeditor5-dev-manual-server 的下载量有多少?

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

@ckeditor/ckeditor5-dev-manual-server 还在维护吗?

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