Hello,
I would like to know if there is a way to change type of the toolbar while editing the text with fckeditor. I would like to make a button, which would change toolbar from Default to Basic, without reloading the page (without deleting the data from the editor).
I tried to do this with oFCKeditor.ToolbarSet = "Basic" ; method, but after that i need to run oFCKeditor.Create(), which reloads the editor (and deletes data from it).
Thank you for help!
Best wishes,
Marko
I would like to know if there is a way to change type of the toolbar while editing the text with fckeditor. I would like to make a button, which would change toolbar from Default to Basic, without reloading the page (without deleting the data from the editor).
I tried to do this with oFCKeditor.ToolbarSet = "Basic" ; method, but after that i need to run oFCKeditor.Create(), which reloads the editor (and deletes data from it).
Thank you for help!
Best wishes,
Marko
RE: Change toolbar type without reloading pag
I don't think it's possible to switch toolbarsets, but you could hide and show items on the toolbar. See my 'HOWTO - hide/show a toolbar button': http://sourceforge.net/forum/forum.php? ... _id=257179
RE: Change toolbar type without reloading page
Line: 43
Char: 2
Error: '_UIButton.MainElement' is null or not an object
Code: 0
RE: Change toolbar type without reloading pag
If you`re running FCKeditor 2.2 or lower check the new message of that HOWTO (http://sourceforge.net/forum/forum.php? ... _id=257179), else make sure you have passed an existing itemName to the toggleButton function and for that see my 'HOWTO - trigger toolbar button externally': http://sourceforge.net/forum/message.php?msg_id=3877940