labroots / ckeditor
JavaScript WYSIWYG 网页文本编辑器。
- dev-master
- 4.5.x-dev
- 4.5.11
- 4.5.10
- 4.5.9
- 4.5.8
- 4.5.7
- 4.5.6
- 4.5.5
- 4.5.4
- 4.5.3
- 4.5.2
- 4.5.1
- 4.5.0
- 4.4.x-dev
- 4.4.8
- 4.4.7
- 4.4.6
- 4.4.5
- 4.4.4
- 4.4.3
- 4.4.2
- 4.4.1
- 4.4.0
- 4.3.x-dev
- 4.3.5
- 4.3.4
- 4.3.3
- dev-full/4.5.x
- dev-full/latest
- dev-full/stable
- dev-standard/4.5.x
- dev-standard/latest
- dev-standard/stable
- dev-basic/4.5.x
- dev-basic/latest
- dev-basic/stable
- dev-latest
- dev-stable
- dev-full/4.4.x
- dev-standard/4.4.x
- dev-basic/4.4.x
- dev-full/4.3.x
- dev-standard/4.3.x
- dev-basic/4.3.x
This package is not auto-updated.
Last update: 2024-09-28 20:08:58 UTC
README
发布代码
此仓库包含CKEditor的官方发布版本。
每个发布版本都有四个版本:standard-all、basic、standard 和 full。它们在编译到主 ckeditor.js 文件中的插件数量以及工具栏配置上有所不同。
有关 basic、standard 和 full 安装预设的更多详细信息,请参阅比较。
standard-all 版本包含所有官方 CKSource 插件,只有来自 standard 安装预设的插件被编译到 ckeditor.js 文件中并在配置中启用。
此仓库中所有可用的版本都是使用 CKBuilder 构建的,因此它们已优化并准备好在生产环境中使用。
文档
CKEditor 的开发者文档可在以下在线位置找到:http://docs.ckeditor.com。
安装
Git 克隆
要安装可用的其中一个发布版本,只需克隆此仓库并切换到相应的分支(见下一节)
git clone -b <release branch> git://github.com/ckeditor/ckeditor-releases.git
Git 子模块
如果您正在使用 git 进行项目开发,并且想集成 CKEditor,我们建议将此仓库添加为 子模块。
git submodule add -b <release branch> git://github.com/ckeditor/ckeditor-releases.git <clone dir>
git commit -m "Added CKEditor submodule in <clone dir> directory."
使用包管理器
有关使用 Bower、Composer 和 npm 安装 CKEditor 的更多详细信息,请参阅安装 CKEditor 与包管理器文章。
仓库结构
分支
此仓库包含以下分支
master和latest– 包含预设置standard-all的最新发布版本(包括测试版本)。stable– 包含预设置standard-all的最新稳定发布版本(非测试版本)。A.B.x(例如4.3.x) – 包含预设置standard-all在A.B分支中的最新发布版本。(basic|standard|full)/stable– 最新稳定发布标签点(非测试版本)。(basic|standard|full)/latest– 最新发布标签点(包括测试版本)。(basic|standard|full)/A.B.x(例如basic/4.0.x) – 在A.B分支中的最新发布版本。
标签
自 4.3.3 版本起,此仓库使用以下标签命名规则
x.y.z– 包含预设置standard-all编辑器构建,例如4.3.3、4.4.0等。(basic|standard|full)/x.y.z– 包含具有给定预设置的编辑器构建,例如basic/4.3.3。
版本号遵循 语义版本控制 2.0.0 方案。
版本号高达 4.3.2 的标签采用以下形式发布:x.y[.z]/(basic|standard|full)。例如:4.0/basic、4.0.1/standard。此约定在 CKEditor 4.3.3 中更改,以符合语义版本控制方案。
检查您的安装
编辑器附带一个示例页面,可用于验证安装是否成功。请参阅 samples 目录。
要测试您的安装,只需调用以下页面
http://<your site>/<CKEditor installation path>/samples/index.html
例如
http://www.example.com/ckeditor/samples/index.html
许可
在GPL、LGPL和MPL许可协议下授权,您可自由选择。
请查阅LICENSE.md文件以获取更多有关许可协议的信息。