Minor update

This commit is contained in:
Tony Air 2018-05-13 22:32:50 +07:00
parent eb65b637b3
commit e8ec8a0b1c
2 changed files with 19 additions and 2 deletions

View File

@ -17,7 +17,10 @@
"colymba/gridfield-bulk-editing-tools": "3.0.0-beta4", "colymba/gridfield-bulk-editing-tools": "3.0.0-beta4",
"dnadesign/silverstripe-elemental-list": "*", "dnadesign/silverstripe-elemental-list": "*",
"dnadesign/silverstripe-elemental-virtual": "*", "dnadesign/silverstripe-elemental-virtual": "*",
"dnadesign/silverstripe-elemental-userforms": "*" "dnadesign/silverstripe-elemental-userforms": "*",
"vulcandigital/silverstripe-seo": "^1.0",
"hestec/silverstripe-cookiebar": "^1.0",
"drmartingonzo/ss-tinymce-charcount": "^1.0"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "^5.7" "phpunit/phpunit": "^5.7"

View File

@ -1 +1,15 @@
<?php <?php
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'),
]);