1
我最近把TinyMCE用在了我正在處理的應用程序中。一切正常,但工具欄顯示在底部。我查閱了文件。TinyMce格式問題
本文檔介紹如何配置工具欄的位置給你使用高級模式,而不是簡單。我已確認我使用的是正確的模式以及我的默認佈局是SimpleLayout但我在使用他們指定的代碼時未看到更改。
theme_advanced_toolbar_location : "top"
這裏是我的腳本是什麼樣子
tinyMCE.init({
width : "500",
height : "100",
// General options
mode : "textareas",
theme : "advanced",
editor_selector : "mceSimple"
// Theme options
theme_advanced_buttons1 :"bold,italic,underline,strikethrough,forecolor,backcolor",
theme_advanced_buttons2 : "",
theme_advanced_buttons3 : "",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_layout_manager : "SimpleLayout"
theme_advanced_resizing : true,
});
我知道,我並不需要指定佈局管理器,但我沒有,它只是表明我將其指定爲SimpleLayout
我是否做錯了,不允許它顯示textarea頂部的工具欄反對底部?