mirror of
https://github.com/a2nt/cms-niceties.git
synced 2024-10-22 11:05:46 +02:00
FIX: Remove char-count
This commit is contained in:
parent
bd25e4f05d
commit
fbdd0c11ee
@ -3,6 +3,7 @@
|
|||||||
use SilverStripe\Forms\HTMLEditor\HtmlEditorConfig;
|
use SilverStripe\Forms\HTMLEditor\HtmlEditorConfig;
|
||||||
use SilverStripe\Core\Manifest\ModuleResourceLoader;
|
use SilverStripe\Core\Manifest\ModuleResourceLoader;
|
||||||
use SilverStripe\ORM\Search\FulltextSearchable;
|
use SilverStripe\ORM\Search\FulltextSearchable;
|
||||||
|
|
||||||
/*use SilverStripe\View\Parsers\ShortcodeParser;
|
/*use SilverStripe\View\Parsers\ShortcodeParser;
|
||||||
use A2nt\CMSNiceties\Extensions\EmbedShortcodeProvider;*/
|
use A2nt\CMSNiceties\Extensions\EmbedShortcodeProvider;*/
|
||||||
|
|
||||||
@ -16,9 +17,9 @@ $config->enablePlugins([
|
|||||||
'charmap',
|
'charmap',
|
||||||
'visualblocks',
|
'visualblocks',
|
||||||
'lists',
|
'lists',
|
||||||
'charcount' => ModuleResourceLoader::resourceURL(
|
/*'charcount' => ModuleResourceLoader::resourceURL(
|
||||||
'drmartingonzo/ss-tinymce-charcount:client/dist/js/bundle.js'
|
'drmartingonzo/ss-tinymce-charcount:client/dist/js/bundle.js'
|
||||||
),
|
),*/
|
||||||
]);
|
]);
|
||||||
$config->addButtonsToLine(2, 'hr');
|
$config->addButtonsToLine(2, 'hr');
|
||||||
$config->setOption('block_formats', 'Paragraph=p;Heading 2=h2;Heading 3=h3;Heading 4=h4;Heading 5=h5;Heading 6=h6;Address=address;Pre=pre');
|
$config->setOption('block_formats', 'Paragraph=p;Heading 2=h2;Heading 3=h3;Heading 4=h4;Heading 5=h5;Heading 6=h6;Address=address;Pre=pre');
|
||||||
|
Loading…
Reference in New Issue
Block a user