You are not logged in.
Hi,
I have 2 textareas with Xinha on one page.
I want them to have different toolbars.
I tried Xinha_editors.textarea1.config.toolbar = [toolbar]; but it doesn't seem to work.
Both textareas have the same toolbar (exept for the plugins that do differ per area).
Anyone have any suggestions / is it even possible at all??
Offline
It should work. But the toolbars are only generated once, so you can't change after the editor has been generated. Specifically if you are using the standard initilisation code it would go in step 5...
xinha_editors.myTextArea.config.toolbar = [ ["formatblock","fontname","fontsize","bold","italic","underline","strikethrough"] ];
note that xinha_editors is all lower case (you have an upper case X in what you posted).
James Sleeman
Offline
It works now. thnx for your post GoGo.
Offline