Posted by dczepierga on July 12, 2011 at 10:14am
4 followers
Jump to:
| Project: | CKEditor - WYSIWYG HTML editor |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Reported in #1204786: [D6] Bug in custom JavaScript configuration - editor not showing in some cases by GreatStarMaster:
Му custom javascript configuration is
config.extraCss = "body {background: #FFFFFF; background-image: none;}";
Editor not showing. Perhaps it is because of the semicolon in the style.
Comments
#1
Changes commited to GIT.
Pls update to last DEV version.
Greetings
#2
Automatically closed -- issue fixed for 2 weeks with no activity.
#3
#4
I'm reopening this issue:
In 6.x-1.11, semicolons seem required in custom javascript configuration.
So current description is incorrect.
#5
@anrikun please ,
write steps to reproduce your issue and write in more details what problem do you have?
#6
Sorry, I thought I was clear enough :-)
Description for field Custom javascript configuration currently displays the following as examples:
config.fontSize_sizes = '16/16px;24/24px;48/48px;'config.font_names = 'Arial;Times New Roman;Verdana'
Respecting these examples, I have typed:
config.bodyClass = 'myclass1 myclass2'But it didn't worked (no error but my bodyClass setting was ignored), so I tried to add a semicolon:
config.bodyClass = 'myclass1 myclass2';And it worked.
So I guess semicolons are needed here, and that examples should be changed into:
config.fontSize_sizes = '16/16px;24/24px;48/48px;';config.font_names = 'Arial;Times New Roman;Verdana';
#7
@anrikun ,
thank you for noticing this.
We try fix this as soon as possible.
#8
I committed changes to GIT.
#9
#10
Thanks for this quick commit!
#11