Ticket #2339 (closed New Feature: fixed)

Opened 6 years ago

Last modified 6 years ago

Pre-defined default values

Reported by: redthor Owned by:
Priority: Normal Milestone: CKEditor 3.0
Component: UI : Toolbar Version:
Keywords: Confirmed Cc:

Description

Add a feature that enables the installer of FCKeditor to add pre-defined properties to Toolbar elements.

For example: Step 1. The installer could add something like

Toolbar.table.width = 400;

to

fckconfig.js

Step 2. The user would edit a page with FCKeditor and insert a table and the width attribute would already be set to 400.

(I will use the table toolbar element from here on but ultimately it would be good to be able to set pre-defined properties for any toolbar element that has properties.)

Normally one would use CSS but what if we don't want all tables in the page to behave this way, only the tables inserted by users in FCKeditor?

For more information (notably my last post!): http://www.fckeditor.net/forums/viewtopic.php?f=5&t=5739

thanks, r

Change History

comment:1 Changed 6 years ago by arczi

  • Keywords Confirmed added; table defaults toolbar config removed
  • Summary changed from Pre-defined toolbar element properties to Pre-defined default values

comment:2 Changed 6 years ago by arczi

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone set to CKEditor 3.0

Fixed with [2873], [2874] and [2875]

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