FIX: Remove char-count

This commit is contained in:
Tony Air 2023-08-02 15:59:16 +02:00
parent bd25e4f05d
commit fbdd0c11ee

View File

@ -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');