[MAGNOLIA-3239] Custom styles file for FckEditor does not overwrite the default one. Created: 28/Jun/10  Updated: 13/Dec/11  Resolved: 10/Sep/10

Status: Closed
Project: Magnolia
Component/s: fckeditor
Affects Version/s: 4.2.4, 4.1.6, 4.3.2
Fix Version/s: 4.3.7, 4.5

Type: Bug Priority: Major
Reporter: Danilo Ghirardelli Assignee: Ondrej Chytil
Resolution: Fixed Votes: 1
Labels: config, fckeditor, patch, styles
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File fck.patch    
Template:
Patch included:
Yes
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

When you define an xml file for your own style to be used with fckEditor, the default CustomStyles is still set to "Red Title", and there is no way to remove it from xml. It should be excluded by configuration when including other styles.
I think it may be removed at all in any configuration, it seems just an example from FckEditor that was left there.
The included patch will remove the FckEditor FCKConfig.CustomStyles property before setting the new style from the xml.


Generated at Mon Feb 12 03:44:33 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.