简体   繁体   English

Web所见即所得编辑器,实时输出到html div

[英]Web wysiwyg editor with live output to html div

I'm looking for a web based wysiwyg editor (like tinyMCE) 我正在寻找基于网络的所见即所得编辑器(例如tinyMCE)
That will output the content of the editor to an html div (much like the ditor on this very site). 这样会将编辑器的内容输出到html div(非常类似于此站点上的ditor)。

Is there any existing (open-source) product that can or can be made to do this? 是否有任何现有的(开源)产品可以或可以做到这一点?

Use any editor, watch after it's textarea, detect change, get content, and display it in your page. 使用任何编辑器,查看其文本区域,检测更改,获取内容,并将其显示在页面中。

$(".tinymce textarea").change(function(){
    $("#preview").html($(".tinymce textarea").val());
}

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

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