Opened 15 years ago

Closed 14 years ago

#4265 closed New Feature (fixed)

Support for styles as string and not only external css file in panel plugin

Reported by: Jon Håvard Gundersen Owned by:
Priority: Normal Milestone:
Component: UI : Floating Panel Version: SVN (CKEditor) - OLD
Keywords: Discussion Cc:

Description

Today it is possible to send css files as an array in the definition given to CKEDITOR.ui.panel constructor.

In my case it would be very nice if I could send the style as a string since the css is already loaded on the page and it is calculated by php so the file is not cached by the browser.

My suggestion is to add a config option to the panel class called "style" or something that is applied to the created iframe inside a style tag.

Change History (3)

comment:1 Changed 15 years ago by Garry Yao

Keywords: Discussion added

Do you mean something like CKEDITOR.editor::addCss which is designed for bring text style definition for the editor document as with the panel?

comment:2 in reply to:  1 Changed 15 years ago by Jon Håvard Gundersen

Replying to garry.yao:

Do you mean something like CKEDITOR.editor::addCss which is designed for bring text style definition for the editor document as with the panel?

Exactly what I had in mind. The specific problem is the styles dropdown panel. I have already added the style defintion to the editingarea by using CKEDITOR.editor::addCss, but there is no way to do this with panels.

comment:3 Changed 14 years ago by Arne

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy