承接 cubear/cwd_ckeditor5_plugins 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

cubear/cwd_ckeditor5_plugins

最新稳定版本:v1.0.1

Composer 安装命令:

composer require cubear/cwd_ckeditor5_plugins

包简介

Drupal Custom module to extend functionality ckeditor5. Adds custom plugin functionality to enhance the editor experience.

README 文档

README

The cwd_ckeditor5_plugins module is a module that provides additional ckeditor5 plugin buttons to enhance the editors experience

  • Plugins used to help with "div traps"
    • Insert at Begin: inserts a paragraph as the first element of the editor
    • Insert at End: inserts a paragraph as the first element of the editor
    • Insert after Element: inserts space after an element and after its parent most element (most similar to the ckeditor4 magic line)
  • Plugins to add markup
    • Aside: adds aside tag element

REQUIREMENTS

This module depends on the drupal core ckeditor5 module.

INSTALLATION

Require via composer

composer require cubear/cwd_ckeditor5_plugins

Enable module via Drupal or drush

drush en cwd_ckeditor5_plugins

Clear site cache and configure ckeditor text formats to use the new buttons.

*** Note that if you are adding functionality that has a tag not supported but the allowed tags of ckeditor5 you will need to update you ckeditor5 configuration to allow these tags to be added to the content.

MAINTAINERS

Current maintainers for Drupal 10:

  • Bill Juda

To Contribute

This module is meant to add additional plugins for use in ckeditor5 in order to contribute you make download the module repo from github, create a new branch, and develop a new plugin to add new functionality.

To generate a ckeditor5 plugin in this module run

drush generate ckeditor

Select cwd_ckeditor5_plugins as your module. Follow the rest of the prompts and drush will scaffold out the ckeditor5 plugin for you.

From here you can edit the javascript for your plugin in js/ckeditor5_plugins/src/YOU_NEW_PLUGIN

In order for your plugin to work you must be able to run the build process writing the cwd_ckeditor5_plugins module to do this run

npm run build

This will generate all the assets needed to create your plugin and allow you to add it to the ckeditor5 toolbar to use.

统计信息

  • 总下载量: 1.09k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 13
  • Forks: 1
  • 开发语言: JavaScript

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2024-06-03