contextualcode/ezplatform-alloyeditor-source

eZ Platform 扩展包,提供在线编辑器中编辑源代码的界面

v3.1.3 2020-05-15 14:17 UTC

This package is not auto-updated.

Last update: 2024-09-28 09:35:19 UTC


README

此扩展包允许编辑 eZ Platform 在线编辑器管理的字段的 HTML 源代码。因此,它提供了从 eZ Publish Legacy 的“禁用编辑器”功能。

安装

  1. 通过 composer 安装

     composer require contextualcode/ezplatform-alloyeditor-source
    
  2. 使用管理界面将“内容/在线编辑器/编辑源代码”策略添加到所需的安全角色中:open_modal

  3. 清除浏览器缓存,享受使用吧!

用法

  1. 在 eZ Platform 管理界面中开始编辑任何包含富文本字段的任何内容。然后在富文本在线编辑器工具栏中点击“编辑源代码”按钮:open_modal
  2. 将显示一个新窗口,您可以在其中编辑源代码:edit_source_modal

在 eZ Platform UI 中使用 CKEditor 插件

要查看 eZ Platform 中使用 CK Editor 插件的示例,请使用 1.0 分支