Opened 10 years ago

Closed 7 years ago

#4361 closed New Feature (expired)

Associate toolbar UI instances

Reported by: Garry Yao Owned by:
Priority: Normal Milestone:
Component: QA Version: 3.0
Keywords: HasPatch Discussion Cc:

Description

Currently it's been difficult to find the relationship of UI instances ( e.g. buttons, combos etc. ), and it's related toolbar instances. Adding more cross-reference among them could benefit the plugin authoring which will manipulate the toolbar.

Attachments (1)

4361.patch (926 bytes) - added by Garry Yao 10 years ago.

Download all attachments as: .zip

Change History (6)

Changed 10 years ago by Garry Yao

Attachment: 4361.patch added

comment:1 Changed 10 years ago by Garry Yao

Keywords: Discussion added

comment:2 Changed 10 years ago by Garry Yao

With the patch, it's able to play the toolbar in the following way:

var ui = editor.ui,
	uiItems = ui._.items,
	// Find the format combo UI instances with registered name.
	combo = uiItems[ 'Format' ],
	// Retrieve the toolbar item which associate with format combo.
	comboToolbarItem = uiItems.toolbarItem;

comment:3 Changed 10 years ago by Garry Yao

Component: UI : ToolbarQA
Milestone: CKEditor 3.1

comment:4 Changed 9 years ago by Wiktor Walc

Version: 3.0

comment:5 Changed 7 years ago by Piotrek Koszuliński

Resolution: expired
Status: newclosed

Closing because idea expired and there's no real case mentioned.

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