Scribite overwrite path for CKEditor template

77 Views Asked by At

I want to have for admin the full toolbar but for the users the zikula configured one. I figured out already which template to change:

modules/zikula/ScribiteModule/Editor/CKEditor/Resources/views/editorheader.html.twig

Of course I can just change it there. But I want to be safe in case of Scribite update. So I know I have to place my changed copy into

app/resources/ZikulaScribiteModule/...

What is the ...?

Same question for the toolbar configuration file

modules/zikula/ScribiteModule/Editor/CKEditor/vendor/ckeditor/custconfig.js

Where is this file going?

I asked that question already some months ago: How can I manage to have two different toolbars in CKEditor for two different groups? But now the ScribiteModule is transfered to the new symfony stile and not Zikula legacy anymore.

1

There are 1 best solutions below

1
On

I'm quite sure you cannot override these templates as they are in non-standard locations from a traditional Symfony model (intentionally).

You may be able to assign a different editor using a textarea override, if the textareas have different DOM ids