AI OnAI Off
The name attribute is used for resource grouping, and resources which aren't "required" by anything won't be loaded.
When you use epi-cms.widgets.base as name for your style it will become a part of the resource group loaded when the cms ui is loaded. Your tinymce group is however not referenced, and will not be loaded. You can add references to script groups by adding a clientModule section in your config.
<clientModule>
<moduleDependencies>
<add dependency="CMS" type="runAfter" />
</moduleDependencies>
<requiredResources>
<add name="tinymce.plugins.extendedepilink" />
</requiredResources>
</clientModule>
This will load your resources when the CMS module has been loaded.
You can also add a client side initializer function to the clientModule element.
Thx so much, works like charm.
Just one minor issue, type should be RunAfter instead of runAfter (in this version at least - it's 7.5.1003.0)
This is my module.config:
Still, ClientResources/Styles/TinyMce.css is not loaded, although Styles.css has. I could import TinyMce.css to Styles.css, but since I want to make an Add-on out of this functionality, this is not an option.
I have tried clearing cache/temporary files/app restart... Could it be that the name should match something?