如何使用外部文件设置Tinymce Init配置
我想使用多个编辑器。将定义一个全局Tinymce Init配置。我想根据要求在每个编辑器中覆盖此基本设置。
i want to use multiple editor .there one global TinyMce init config will be defined. I want to override this basic setup in every editor based on requirement.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
因此,您需要一个Global Tinymce Config,然后根据需要在每个附加编辑器中需要覆盖全局配置?
如果是这种情况,一种方法是使用全局,Tinymce Init Config设置一个通用配置变量。然后,您可以对此进行以下操作之一:
公共配置:
和html
So you need one, global TinyMCE config, and then override the global config if needed in each additional editor based on what you need?
If that's the case, one way to do this is to set up a common config variable with the global, TinyMCE init config. Then you can do one of the following with it:
The common config:
And the HTML