0
我在找一種方式來提交tinymce與內嵌選項的更改,這是內聯的示例,http://www.tinymce.com/tryit/inline.php。tinyMCE 4.0.8 onblure回調與內聯選項
所以我需要一個方法來設置內聯編輯器的onblur的一些回調。
這是我使用的代碼:
<script type="text/javascript">
tinymce.init({
selector: "div.editable",
inline: true,
plugins: [
"advlist autolink lists link image charmap print preview anchor",
"searchreplace visualblocks code fullscreen",
"insertdatetime media table contextmenu paste"
],
toolbar: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image"
});
</script>
<div class="editable" style="width:100%; height:550px">
This is an editable div element element.
</div>