简体   繁体   English

如何使Maschek图像映射tinymce插件适用于tinymce 4

[英]How to make maschek image map tinymce plugin works for tinymce 4

I try to looking for tinymce plugin image map. 我尝试寻找tinymce插件图片地图。 Lucky, I found maschek image map URL : https://github.com/maschek/imgmap 幸运的是,我发现了maschek图像地图URL: https : //github.com/maschek/imgmap

But there was a problem. 但有一个问题。 This image map plugin is used for tinymce 3 not for tinymce 4. I have tried to using plugin compatx3. 该图像映射插件用于tinymce 3,而不用于tinymce4。我尝试使用插件compatx3。 But it didn't worked. 但这没有用。

There is several errors appears on console: 控制台上出现几个错误:

Deprecated TinyMCE API call: .onNodeChange.add(..) Uncaught TypeError: Cannot read property 'popup_css' of undefined popup.html:94 Uncaught TypeError: Cannot read property 'add' of undefined 不推荐使用的TinyMCE API调用:.onNodeChange.add(..)未捕获的TypeError:无法读取未定义popup.html的属性'popup_css':94未捕获的TypeError:无法读取未定义的属性'add'

here is the screenshoot what shows in browser 这是屏幕快照,显示在浏览器中

tinymce 4编辑器中的插件maschek图像地图视图

how do I to put this plugin to tinymce 4 editor correctly and works? 我该如何正确地将此插件放入tinymce 4编辑器并起作用?

Late answer but: The plugin needs to be ported to tinyMCE4. 答案较晚,但是:该插件需要移植到tinyMCE4。 Someone did. 有人做到了 Check this link: https://github.com/Gagaro/tinymce-imgmap . 检查此链接: https : //github.com/Gagaro/tinymce-imgmap

Hope this helps. 希望这可以帮助。

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

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