
ckeditor5-line-height-plugin:CKEditor5提供的插件,用于调整选定文本块的行高。
5星
- 浏览量: 0
- 大小:None
- 文件类型:None
简介:
CKEditor5 的 line-height-plugin 是一款创建插件,其主要功能是调整所选文本块的行高。为了开始使用该插件,您需要先通过 npm 安装构建:请运行 `npm install --save ckeditor5-line-height-plugin` 或者使用 yarn 进行安装:`yarn add ckeditor5-line-height-plugin`。随后,在您的应用程序中引入该插件:`import LineHeight from ckeditor5-line-height-plugin/src/lineheight;`。值得注意的是,部分用户在使用过程中可能会遇到样式相关的挑战。如果出现此类问题,建议您尝试将此插件作为首选导入项加载。为了将其集成到编辑器中,您可以执行以下操作: `ClassicEditor.create(document.querySelector(#editor), { plugins: [ ... ] });`
全部评论 (0)
还没有任何评论哟~


