#836: non file based (dynamic) toolbar configuration
---------------------------+------------------------------------------------
Reporter: anonymous | Owner:
Type: New Feature | Status: new
Priority: Normal | Milestone:
Component: UI : Toolbar | Version:
Resolution: | Keywords: SF Pending
---------------------------+------------------------------------------------
Changes (by w.olchawa):
* keywords: SF => SF Pending
Comment:
If you are referring to the possiblity of switching between custom toolbar
sets, than it isn't such a difficult issue.
You may use something like this:
{{{
function toolbar1()
{
var oEditor = FCKeditorAPI.GetInstance('FCKeditor_1') ;
oEditor.ToolbarSet.Load( 'CustomToolbar1' ) ;
}
}}}
and than just call it:
{{{
<a href="javascript:void(0);" onclick="toolbar1();">Custom Toolbar 1</a>
}}}
Of course the toolbars will have to be predefined in the config file.
Or is you request about creating different toolbars at runtime (without
predefining them in the config file)?
--
Ticket URL: <http://dev.fckeditor.net/ticket/836#comment:3>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac