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 follow-up: 2 Changed 15 years ago by
Keywords: | Discussion added |
---|
comment:2 Changed 15 years ago by
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
Resolution: | → fixed |
---|---|
Status: | new → closed |
Do you mean something like CKEDITOR.editor::addCss which is designed for bring text style definition for the editor document as with the panel?