Opened 8 years ago

Closed 6 years ago

#8099 closed Bug (fixed)

RichCombo without css shows nothing

Reported by: davh@… Owned by:
Priority: Normal Milestone:
Component: UI : Floating Panel Version: 3.0
Keywords: Cc:

Description

editor.ui.addRichCombo("blabla", {

label: "blabla", className: 'cke_asd', panel:

{

multiSelect: false, attributes: { 'aria-label': this.members.LanguagesTitleId }

},

init: function() {

this.add("abc", "def", "hig");

}}

Shows nothing in the dropdown...

Add

css: editor.skin.editor.css.concat(editor.config.contentsCss),

To the panel, and it works fine.

Change History (2)

comment:1 Changed 8 years ago by Jakub Ś

Status: newconfirmed
Version: 3.63.0

Add this code to your CKEditor instance on HTML page:

,{
	extraPlugins : 'myplug',
	toolbar :[ ['blabla'] ]
}

and plug-in from attachment to your plug-ins.

You will see that if you comment the below line

css: editor.skin.editor.css.concat(editor.config.contentsCss), 

inside myplug, the elements in combo will not be visible.

Reproducible from CKEditor 3.1.

comment:2 Changed 6 years ago by Jakub Ś

Resolution: fixed
Status: confirmedclosed

Problem is no longer reproducible in latest CKEditor 4.x. If there is no CSS assigned, pure HTML is displayed.

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