定制 contextualcode/ezplatform-alloyeditor-special-characters 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

contextualcode/ezplatform-alloyeditor-special-characters

最新稳定版本:v2.0.1

Composer 安装命令:

composer require contextualcode/ezplatform-alloyeditor-special-characters

包简介

eZ Platform bundle which provides UI to insert special characters in Online Editor

README 文档

README

This bundle allows inserting special characters in eZ Platform Online Editor.

edit_source_modal

Installation

  1. Require via composer

     composer require contextualcode/ezplatform-alloyeditor-special-characters
    
  2. Clear browser caches and enjoy!

Using CKEditor add-on in eZ Platform UI

This bundle is a good showcase for using CK Editor plugin in eZ Platform. It relies on Special Characters CKEditor add-on.

If you want to make a similar bundle for any other CKEditor add-on, just follow these steps:

  1. Add CKEditor add-on to your source: src/bundle/Resources/public/js/alloyeditor/plugins/specialchar.
  2. Create an external source for previously added add-on: src/bundle/Resources/public/js/alloyeditor/externals.js
  3. Add plugin external source to encore configuration: src/bundle/Resources/encore/ez.config.manager.js
  4. Register added plugin in eZ Platform Admin UI: src/bundle/Resources/config/ezrichtext.yaml
  5. In most cases, CKEditor plugins have their buttons, but they require minor CSS fixes to be nice and shiny in eZ Platform Admin UI. Alternatively, you can create a new button: src/bundle/Resources/public/js/alloyeditor/buttons/special-characters.js
  6. Enable the button from the previous step in desired Online Editor toolbars: src/bundle/Resources/config/ezpublish.yaml

You can find more details at Extending eZ Platform Online Editor blog post.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-only
  • 更新时间: 2020-02-13