Ticket #549 (closed New Feature: fixed)
ToolbarLocation 'None' Option
| Reported by: | joewieloch | Owned by: | aleksey |
|---|---|---|---|
| Priority: | Normal | Milestone: | FCKeditor 2.5 Beta |
| Component: | UI : Toolbar | Version: | FCKeditor 2.4.2 |
| Keywords: | Cc: |
Description
Hi, I did search but couldn't find a request like this. I am working on a project where we do true in-place editing and want to use our existing application toolbar to drive the text editing. We still want to have a 'hidden' toolbar set that we can manipulate automatically to get status and to set items like font, size, bold, etc.
Anyway I couldn't find a easy configurable way to remove the view of the toolbar, and thus modified the code in fcktoolbarset.js to allow for a new value of FCKConfig.ToolbarLocation
function FCKToolbarSet_Create( overhideLocation ) {
var oToolbarSet ;
var sLocation = overhideLocation
FCKConfig.ToolbarLocation ; switch ( sLocation ) { case 'None' :
oToolbarSet = new FCKToolbarSet( document ) ; break;
case 'In' :
This easily allows for a configurable way for me to hide (well, not set visible) the toolbar. Please consider it.
Thanks,
Joe
Change History
Note: See TracTickets for help on using tickets.Download in other formats: