简体   繁体   English

为 Vue TinyMCE 开发插件

[英]Develop Plugins for Vue TinyMCE

I want to develop a plugin for TinyMCE Vue extension.我想为 TinyMCE Vue 扩展开发一个插件。 I am using vue-easy-tinymce and the link is M3ESMA .我正在使用 vue-easy-tinymce 并且链接是M3ESMA I will use it in WordPress.我将在 WordPress 中使用它。 Have anyone any experience or idea how can I do it?有没有人有任何经验或想法我该怎么做?

I want to add a tab here.我想在这里添加一个选项卡。 View this查看这个

Two thoughts ...两个想法...

1 - the Vue/TinyMCE connector you reference has not been updated in 2 years. 1 - 您引用的 Vue/TinyMCE 连接器已 2 年未更新。 TinyMCE has its own Vue connector that is actively being developed: TinyMCE 有自己正在积极开发的 Vue 连接器:

https://github.com/tinymce/tinymce-vue https://github.com/tinymce/tinymce-vue

I would recommend using that connector as its under active development.我建议使用该连接器作为其正在积极开发中。

2 - What you are asking about is really just updating an existing TinyMCE plugin - the media plugin. 2 - 您要问的实际上只是更新现有的 TinyMCE 插件 - 媒体插件。

If you want different/modified behavior from that plugin you can modify the source code of the plugin and use the modified version.如果您想要与该插件不同/修改的行为,您可以修改插件的源代码并使用修改后的版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM