New ckEditor Toolbar Configuration

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
4/1/2013 10:50:05 AM
Gravatar
Total Posts 18439

Re: New ckEditor Toolbar Configuration

The demo site is not yet updated with these changes.

See Important Skin Changes for notes about updating your skin. 

You may need to reset your skin guid and do a hard refresh to make things look right in the editor after making changes to skin such as style.config

Hope that helps,

Joe

4/1/2013 11:59:35 AM
Gravatar
Total Posts 18

Re: New ckEditor Toolbar Configuration

I tried to disable the cache, reset the skin guid, and Ctrl-F5 to perform a hard page refresh in the browser (I'm usong Firefox 19.02) but I'm still having the same problem. This occurs with the new skins as well as my old one. It displays OK when viewing the blog, just not when editing the content in CKEditor.

I don't know if CKEditor needs some other setting to get it to pay attention to these classes or if it has a bug. My assumption is that if it displays OK when viewing the blog, then CKEditor has the styles it needs when it is created, it is just ignoring them.

Does this work OK for you in your development environment?

Thanks for the posted link on the skin changes. I probably need to use the newer ones anyway since they look better!

Please let me know if you have any other ideas.

Thanks,

Don

4/1/2013 12:57:43 PM
Gravatar
Total Posts 18439

Re: New ckEditor Toolbar Configuration

Hi Don,

Just did a quick test here locally and I found it was not working correctly in the editor in Artisteer skins because of this which needs to be removed from style-artisteroverrides.css

body.wysiwygeditor  p
{
  font-size: 14px;
  margin: 12px 0;

}

So it was overriding the indent class. another solution would be to move the reference to the common css lower in the stlye.config file than that artisteer css files to give it more precedence but probably removing that is the best solution.

Hope that helps,

Joe

4/1/2013 2:59:36 PM
Gravatar
Total Posts 18

Re: New ckEditor Toolbar Configuration

Yes, that fixed the problem! I ended up just commenting out the margin setting and left everything else as it was.

Thanks!

Don

4/6/2013 10:57:02 AM
Gravatar
Total Posts 18

Re: New ckEditor Toolbar Configuration

Hi Joe,

FYI, I was having the same problem with the ul and ol lists ignoring the Indent classes in both the blog display and editor, so I added the following to my style-artisteer-overrides.css file. These may need to go into the common/style.css as well by adding to the existing Indent class selectors.

ol.Indent1, ul.Indent1
{
    margin-left: 40px;
}

ol.Indent2, ul.Indent2
{
    margin-left: 80px;
}

ol.Indent3, ul.Indent3
{
    margin-left: 120px;
}

Don

 

4/16/2013 10:10:48 AM
Gravatar
Total Posts 18439

Re: New ckEditor Toolbar Configuration

Will do, thanks Don!

7/21/2013 10:21:33 PM
Gravatar
Total Posts 23

Re: New ckEditor Toolbar Configuration

I'm also trying to make work ['JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'] in ckeditor, but couldn't yet. I created style JustifyCenter in CSS, I can remove for example any existing item by editing this part of .js, but the justify icons in editor still missing..

    config.toolbar_FullWithTemplates =
    [
        ['Source','Maximize'],['JustifyCenter'],
        ['SelectAll', 'RemoveFormat', 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Print', 'SpellChecker', 'Scayt'],
        ['Undo','Redo'],['Find','Replace'],['Bold','Italic','Underline','Strike','Superscript'],
        '/',
        ['Blockquote','Styles'],['NumberedList','BulletedList','Outdent', 'Indent'],['JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'],
        ['Link','Unlink','Anchor'],
        ['Templates','Image','Flash','oembed','Table','HorizontalRule','Smiley','SpecialChar','ShowBlocks']
    
    ];

 

7/29/2013 12:18:30 PM
Gravatar
Total Posts 18439

Re: New ckEditor Toolbar Configuration

Hi,

I recommend upgrade to the new release of mojoPortal (2.3.9.8). It has an upgrade for CKeditor and some fixes in mojoPortal that I think will resolve this problem.

Hope that helps,

Joe

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