我想下面的代码TinyMCE的按键时,我尝试显示内容的预览
$('textarea.tinymce').keypress(function(){
dealDescription = $('textarea.tinymce').tinymce().execCommand('mcePreview');
$("#deal_preview div").text(dealDescription);
});
,但我不使用jQuery TinyMCE的编辑想使用jQuery TinyMCE的和其他的jQuery UI组件无法正常工作,所以我直接使用tinymce组件。
现在我需要在每个按键的预览框中显示内容预览。