मुझे लगता है कि समस्या अपने TinyMCE init समारोह में उपकरण पट्टियों के साथ हो सकता है:
क्या मैं अपने init सेटिंग के अनुसार मेरी चौड़ाई सेट करने के लिए क्या iframe की शैली की संपत्ति को संशोधित करने के लिए है।
इस उदाहरण का प्रयास करें, और मुझे बताएं कि यह आपके लिए काम करता है या नहीं?
अपने HTML में:
<textarea name="editorial" class="test" cols="40" rows="20" id="editorial" > editorial</textarea>
फिर अपने जावास्क्रिप्ट में इस 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 13:42:05
क्या आप पहले से प्रयास किए गए उदाहरणों के उदाहरण दे सकते हैं –