I recently put the use of TinyMCE in an application I am working on. Everything is working, but the Toolbar is shown on the bottom. I checked the documentation at.
This doc shows how to configure the location of the toolbar given you are using Advanced mode and not Simple. I have confirmed that I am using the correct mode as well as my default layout is SimpleLayout but I am not seeing the changes when I use the code they specify to use.
theme_advanced_toolbar_location : "top"
Here is what my script looks like
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,
});
I am aware that I do not need to specify the layout manager, but I did it just to show I was specifying it as SimpleLayout
Am I doing something wrong that is not allow it to show the toolbar on top of the textarea as oppose to the bottom?