我認爲問題可能與您的TinyMCE的初始化函數的工具欄。
試試這個例子,讓我知道它是否適合你?
在你的HTML:
<textarea name="editorial" class="test" cols="40" rows="20" id="editorial" > editorial</textarea>
然後在您的JavaScript中使用此tinyMCE.init:
tinyMCE.init({
// General options
mode: "textareas",
theme: "advanced",
width: "300",
height: "200",
// Theme options
theme_advanced_buttons1: "bold,italic,underline,|,justifyleft,justifycenter,justifyright,justifyfull",
theme_advanced_buttons2: "",
theme_advanced_buttons3: "",
theme_advanced_buttons4: "",
theme_advanced_toolbar_location: "top",
theme_advanced_toolbar_align: "left",
theme_advanced_resizing: false,
// Selector
editor_selector: "test",
});
這是否對你的工作?
你能舉出你已經試過的例子嗎 – 2010-11-10 10:44:01