'{@$__wcf->getPath()}js/3rdParty/redactor2/redactor.min.js?v={@LAST_UPDATE_TIME}',
'{@$__wcf->getPath()}js/3rdParty/redactor2/plugins/combined.min.js?v={@LAST_UPDATE_TIME}'
{/if}
+
+ {if $__redactorJavaScript|isset}{@$__redactorJavaScript}{/if}
+ {assign var=$__redactorJavaScript value=''}
+
+ {event name='redactorJavaScript'}
], function () {
require(['Language', 'WoltLab/WCF/Ui/Redactor/Metacode'], function(Language, UiRedactorMetacode) {
Language.addObject({
// already and we can safely add all icons
config.plugins.push('WoltLabButton');
+ {if $__redactorConfig|isset}{@$__redactorConfig}{/if}
+ {assign var=$__redactorConfig value=''}
+
+ {event name='redactorConfig'}
+
$(element).redactor(config);
});
});
'{@$__wcf->getPath()}js/3rdParty/redactor2/redactor.min.js?v={@LAST_UPDATE_TIME}',
'{@$__wcf->getPath()}js/3rdParty/redactor2/plugins/combined.min.js?v={@LAST_UPDATE_TIME}'
{/if}
+
+ {if $__redactorJavaScript|isset}{@$__redactorJavaScript}{/if}
+ {assign var=$__redactorJavaScript value=''}
+
+ {event name='redactorJavaScript'}
], function () {
require(['Language', 'WoltLab/WCF/Ui/Redactor/Metacode'], function(Language, UiRedactorMetacode) {
Language.addObject({
// already and we can safely add all icons
config.plugins.push('WoltLabButton');
+ {if $__redactorConfig|isset}{@$__redactorConfig}{/if}
+ {assign var=$__redactorConfig value=''}
+
+ {event name='redactorConfig'}
+
$(element).redactor(config);
});
});