Nested overrides in portal_skins folder

2019-04-26 05:46发布

How one could override files in nested portal_skins folder?

The default behavior seems to be that you need to copy whole folder structures if you want to override a single file. This is a maintenance nightmare.

E.g. how to override file:

Producs.TinyMCE/skins/tinymce/plugins/table/js/table.js

... without needing to create a duplicate for the whole Products.TinyMCE skins codebase?

2条回答
疯言疯语
2楼-- · 2019-04-26 06:25

You cannot override parts of a nested skins folder structure. If you want to customize things, best to create a new tinymce plugin (like mytables) and copy only the files for that plugin.

查看更多
一纸荒年 Trace。
3楼-- · 2019-04-26 06:28

Use z3c.jbot, and put a file in your jbot template directory called Products.TinyMCE.skins.tinymce.plugins.table.js.table.js

查看更多
登录 后发表回答