silverstripe-webpack/app/_config.php

22 lines
485 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;
2018-05-28 14:42:05 +02:00
use SilverStripe\ORM\Search\FulltextSearchable;
2018-05-13 17:32:50 +02:00
HtmlEditorConfig::get('cms')->enablePlugins([
'template',
'fullscreen',
'hr',
'contextmenu',
'charmap',
'visualblocks',
'lists',
'charcount' => ModuleResourceLoader::resourceURL(
'drmartingonzo/ss-tinymce-charcount:client/dist/js/bundle.js'
),
2018-05-13 17:32:50 +02:00
]);
2018-05-28 14:42:05 +02:00
FulltextSearchable::enable();