Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#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 (5)

comment:1 Changed 9 years ago by fredck

  • Keywords toolbar hide ToolbarLocation FCKConfig removed
  • Milestone set to 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 9 years ago by joewieloch

It really looks like the parameter overhideLocation should be overrideLocation

comment:3 Changed 9 years ago by aleksey

  • Owner set to aleksey
  • Status changed from new to assigned

comment:4 Changed 9 years ago by aleksey

  • Resolution set to fixed
  • Status changed from assigned to closed

comment:5 Changed 9 years ago by fredck

Fixed with [664].

Note: See TracTickets for help on using tickets.
© 2003 – 2016 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy