Ckeditor styles order odd

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
9/23/2011 7:50:23 AM
Gravatar
Total Posts 87

Ckeditor styles order odd

Hi,

in my installation of version 2.3.6.7 i have strange arbitrary order of styles dropdown in CKEditor, i checked it in older installations and order is arbitrary too. i've checked this link on my syte http://mojoportal.com/services/ckeditorstyles.ashx and order looks correct same as on mojoportal site. but in dropdown it is total mess.

  where can i change this for quick fix?

Regards,

Victor

P.S. tried to check it on https://demo.mojoportal.com but login is blocked 

9/23/2011 7:54:55 AM
Gravatar
Total Posts 18439

Re: Ckeditor styles order odd

Hi Victor,

Unfortunately that is a browser bug in the way javascript arrays are sorted. We are delivering the list correctly sorted in json but in Chrome/webkit browsers it doesn't sort correctly. It does sort correctly in IE and Firefox.

Before you edited your post you asked also about the h1 mapping to h3, maybe you already found the answer but I just updated the article Customizing the Editor Toolbars with a note about why we do that and how to change it if you don't like it.

Thanks for letting me know about the demo site I'll go fix it right now.

Best,

Joe

9/23/2011 8:40:46 AM
Gravatar
Total Posts 87

Re: Ckeditor styles order odd

Hi Joe,

Thank you, now i see. One small question related to this issue - as i see the list itself is now hardcoded in services/ckeditorstyles.ashx is there any simple way to override the list? i mean i would like to remove some unused items, to to make editing easier for editors and possible add my own styles. So far i do not see any way to do it without  recompiling source code.

Regards,

Victor

9/23/2011 8:51:15 AM
Gravatar
Total Posts 18439

Re: Ckeditor styles order odd

Hi Victor,

You can add styles from Administration > Content Style Templates

See Creating Content Style Templates

There are some built in ones, they can be configured to be at the bottom of the list or the top of the list or you can leave them out as indicated in the article (though the browser sorting bug may still throw it off in Chrome).

Hope that helps,

Joe

9/23/2011 10:11:31 AM
Gravatar
Total Posts 87

Re: Ckeditor styles order odd

Ok thank you,

sorry i missed this, your system so full of options that i will need few years to understand all of them :)

Regards,

Victor

You must sign in to post in the forums. This thread is closed to new posts.