ubc-web-services/apsc_ckeditor_widgets
最新稳定版本:2.1.0
Composer 安装命令:
composer require ubc-web-services/apsc_ckeditor_widgets
包简介
A Drupal module to add some common widgets to CKeditor
README 文档
README
A Drupal module to add some common widgets to CKeditor
Working with the javascript
Plugin source should be added to
js/ckeditor5_plugins/{pluginNameDirectory}/src and the build tools expect this
directory to include an index.js file that exports one or more CKEditor 5
plugins. Note that requiring index.js to be inside
{pluginNameDirectory}/src is not a fixed requirement of CKEditor 5 or Drupal,
but a requirement of this starter template that can be changed in
webpack.config.js as needed.
In the module directory, run yarn install to set up the necessary assets. The
initial run of install may take a few minutes, but subsequent builds will be
faster.
After installing dependencies, plugins can be built with yarn build or yarn watch. They will be built to js/build/{pluginNameDirectory}.js. co
CKEditor API
- v4: https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.html
- custom widget example:
- v5: https://ckeditor.com/docs/ckeditor5/latest/api/index.html
Drupal resources
- Dev Tools for CKE5 - https://www.drupal.org/project/ckeditor5_dev
- CKE5 Drupal API - https://www.drupal.org/docs/drupal-apis/ckeditor-5-api/overview
- Development guide - https://www.drupal.org/docs/core-modules-and-themes/core-modules/ckeditor-5-module/ckeditor-5-development
统计信息
- 总下载量: 3.37k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2023-08-25