#549 closed New Feature (fixed)
ToolbarLocation 'None' Option
Reported by: | Joe Wieloch | Owned by: | Aleksey Onopriyenko |
---|---|---|---|
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 (5)
comment:1 Changed 17 years ago by
Keywords: | toolbar hide ToolbarLocation FCKConfig removed |
---|---|
Milestone: | → FCKeditor 2.5 |
comment:2 Changed 17 years ago by
It really looks like the parameter overhideLocation should be overrideLocation
comment:3 Changed 17 years ago by
Owner: | set to Aleksey Onopriyenko |
---|---|
Status: | new → assigned |
comment:4 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
This is not the best implementation of it, but it would be a way to do so with version 2.x. So, let's consider this one. Version 3.0 should bring the definitive solution, where the toolbar should be a completely optional interface feature.