承接 kinglozzer/htmleditorscripts 相关项目开发

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

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

kinglozzer/htmleditorscripts

最新稳定版本:1.0.1

Composer 安装命令:

composer require kinglozzer/htmleditorscripts

包简介

Enable <script> tags in SilverStripe’s HtmlEditorField

README 文档

README

Enable <script> tags in SilverStripe’s HtmlEditorField. An implementation of this PR to enable this functionality in 3.1.

Installation

composer require kinglozzer/htmleditorscripts

No extra setup is needed as this module adds <script> tags to extended_valid_elements.

Notes

  • Only set up to work with the default CMS HtmlEditorConfig instance. Copy the approach in _config.php to enable it in other config instances;
  • Prevents other editor.onSaveContent plugin events firing: as we can’t remove the SilverStripe event that strips the <script> tags (as we don’t have a variable to reference in ed.onSaveContent.remove()), we have to simply stop other events from running.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2015-04-29