Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#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 Frederico Caldeira Knabben

Keywords: toolbar hide ToolbarLocation FCKConfig removed
Milestone: FCKeditor 2.5

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.

comment:2 Changed 17 years ago by Joe Wieloch

It really looks like the parameter overhideLocation should be overrideLocation

comment:3 Changed 17 years ago by Aleksey Onopriyenko

Owner: set to Aleksey Onopriyenko
Status: newassigned

comment:4 Changed 17 years ago by Aleksey Onopriyenko

Resolution: fixed
Status: assignedclosed

comment:5 Changed 17 years ago by Frederico Caldeira Knabben

Fixed with [664].

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy