HTML editor Cocoa control

扶醉桌前 提交于 2020-01-02 19:48:22

问题


I am looking for a Cocoa HTML editor control. Do you know if something like this already exists?


回答1:


Here's CKEditor4ObjC, an open-source Cocoa HTML editor using CKEditor and WebView that I just created.




回答2:


The only thing that I've seen that relates to what you're looking for is this simple example of how to use the TinyMCE JavaScript-based HTML editor in a Cocoa WebView.

Alternatively, I would take a look at this similar question and the corresponding link to helpful information that resides within it.




回答3:


It's not hard to use document.execCommand(...) either, because WebKit is pretty compatible with it.



来源:https://stackoverflow.com/questions/6747070/html-editor-cocoa-control

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!