silverstripe-webpack/site/_config.php

16 lines
391 B
PHP
Raw Normal View History

2018-03-24 11:45:31 +01:00
<?php
2018-05-13 17:32:50 +02:00
use SilverStripe\Forms\HTMLEditor\HtmlEditorConfig;
use SilverStripe\Core\Manifest\ModuleResourceLoader;
HtmlEditorConfig::get('cms')->enablePlugins([
'template',
'fullscreen',
'hr',
'contextmenu',
'charmap',
'visualblocks',
'lists',
'charcount' => ModuleResourceLoader::resourceURL('drmartingonzo/ss-tinymce-charcount:client/dist/js/bundle.js'),
]);