zikula-modules / Scribite

Integrate WYSIWYG editors for Zikula and its modules.
30 stars 7 forks source link

changing ckeditor menu is not working #169

Closed rallek closed 7 years ago

rallek commented 7 years ago

not shure if it is a bug or missing know how: I want to have a specific menu for my users (CKEditor). For this purpose there is the instruction und the selection of the menu: Special1 and Special2 must be manually configured in custconfig.js. You have to refresh your browser-cache to see the changes The only custconfig I found is located here: modules/Scribite/plugins/CKEditor/vendor/ckeditor/custconfig.js I added here a section as a copy of the basic section:

    config.toolbar_Special1 =
    [
        { name: 'document',    items : [ 'Maximize', 'Source', 'Cut', 'Copy', 'PasteText', 'PasteFromWord', 'RemoveFormat', 'Link', 'Image', 'Smiley' ] },
        { name: 'basicstyles', items : [ 'Bold', 'Italic', 'Underline' ] },
        { name: 'paragraph',   items : [ 'NumberedList', 'BulletedList', 'JustifyLeft', 'JustifyCenter', 'JustifyRight' ] }
    ];

Any change here do not have any effect. Allways full is shown. So I thought I am doing something wrong.

Next I selcted simple inside the CKEditor. This one is used by news for example. Now I changed the section simple a bit, refreshed the browser cache, deleted Zikula cache but nothing changes. All items I deleted are still shown.

Where is my mistake? Or is it a bug? is there somwhere else another custconfig.js?

craigh commented 7 years ago

Zikula version. scribite version.

rallek commented 7 years ago

sorry: zk 1.5.0 Scribite latest 5.0.3 branch All scribite plugins updated after upgrade

craigh commented 7 years ago

Current master is configured to work with core 2.0.1

craigh commented 7 years ago

https://github.com/zikula-modules/Scribite/blob/5cb67c35df263212038ca39c6aff2028cbc263c3/composer.json#L21

rallek commented 7 years ago

I did not tell the truth. My Scribite is some days old (13.08.2017). Did not see there is a change.

Guite commented 7 years ago

Added a 5.0.3 branch which equals the version @rallek uses.

Guite commented 7 years ago

Tested the custconfig of @rallek - it all works.

craigh commented 7 years ago

Added a 5.0.3 branch

why add a full branch? why not simply tag a new release?

Guite commented 7 years ago

Added release: https://github.com/zikula-modules/Scribite/releases/tag/5.0.3

craigh commented 7 years ago

I renamed the branch to 5.0 (a branch is not typically named for a patch release) and fixed the style issues in it.