Opened 15 years ago
Closed 15 years ago
#5352 closed Bug (fixed)
CKEDITOR.stylesSet.add can't be used inline with _source files
Reported by: | Alfonso Martínez de Lizarrondo | Owned by: | Alfonso Martínez de Lizarrondo |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 3.3 |
Component: | General | Version: | 3.2 |
Keywords: | Review+ | Cc: |
Description
Trying to use the CKEDITOR.stylesSet.add in the page to define a stylesSet without using an external file doesn't work while using the _source files.
Attachments (2)
Change History (8)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
Keywords: | Review? added |
---|---|
Milestone: | → CKEditor 3.3 |
After #5290 this is easy.
comment:3 Changed 15 years ago by
Owner: | set to Alfonso Martínez de Lizarrondo |
---|---|
Status: | new → assigned |
Changed 15 years ago by
Attachment: | 5352_2.patch added |
---|
comment:4 Changed 15 years ago by
Keywords: | Review- added; Review? removed |
---|
The inline definition in config must be also available to 'CKEDITOR.stylesSet' and let's make this config as documentation-only.
comment:5 Changed 15 years ago by
Keywords: | Review+ added; Review- removed |
---|
After a discussion with Alfonso, the above patch may cause problem when multiple instances are using the inline way to define styles, so it's safe to leave it the original way.
The solution could be to allow to define the stylesSet directly in the config object as suggested in http://dev.fckeditor.net/ticket/5024#comment:9