我想重现这种简单的行为:
http://tinymcesupport.com/tutorials/autoresize-automatic-resize-plugin
这是我的初始化:
<!-- TinyMCE -->
<script type="text/javascript" src="js/jscripts/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript">
tinyMCE.init({
mode : "exact",
elements : "pagina_testo_colonna1,pagina_testo_colonna2,pagina_testo_colonna3",
theme : "advanced",
plugins:"paste,autoresize",
plugin_preview_width : "100%",
width : "100%",
theme_advanced_buttons1 : "pastetext,|,bold,italic,underline,strikethrough,|,bullist,numlist,|,indent,outdent,|,undo,redo,|,justifyleft,justifycenter,justifyright,justifyfull,|,link,unlink,|,charmap",
theme_advanced_buttons2 : "",
theme_advanced_buttons3 :"",
theme_advanced_disable : "image,anchor,cleanup,help,code,hr,removeformat,sub,sup",
theme_advanced_resizing : true,
paste_text_use_dialog : true,
relative_urls : false,
remove_script_host : false
});
</script>
<!-- /TinyMCE -->
我在插件列表中添加了“自动调整大小”,但我的编辑器在我写作时没有调整大小,他们只是滚动。我在同一页面中有多个编辑器。我的代码有什么问题?