Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Fiable.biz

    (@fiablebiz)

    The solution I found is not elegant:
    after having added the desired skin(s) in
    wp-content/plugins/ckeditor-for-wordpress/ckeditor/skins
    as explained above, edit the file
    wp-content/plugins/ckeditor-for-wordpress/ckeditor_class.php ,
    search for the word “kama”: you find the line
    return !empty($skins) ? $skins : array('moono','kama');
    and add “moonocolor” (If moonocolor is the skin you added), like this:
    return !empty($skins) ? $skins : array('moono','kama','moonocolor');

    Does anyone know a better solution?

    Plugin Contributor vokiel

    (@vokiel)

    There is an auto-discovery for skins, but as I see it has wrong skin directory set.

    So you can manually edit ckeditor-for-wordpress/ckeditor_class.php file and replace line 330 with this code:
    $skins_directory = dirname(__FILE__). '/ckeditor/skins/';

    Or apply this PR https://github.com/ckeditor-for-wordpress/ckeditor-for-wordpress/pull/20

    Then all skins will be found by the plugin itself.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to add a skin to the rolling list’ is closed to new replies.