Ticket #549 (closed New Feature: fixed)

Opened 3 years ago

Last modified 3 years ago

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

Changed 3 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.

Changed 3 years ago by joewieloch

It really looks like the parameter overhideLocation should be overrideLocation

Changed 3 years ago by aleksey

  • owner set to aleksey
  • status changed from new to assigned

Changed 3 years ago by aleksey

  • status changed from assigned to closed
  • resolution set to fixed

Changed 3 years ago by fredck

Fixed with [664].

Note: See TracTickets for help on using tickets.