Source of file _config.php
Size: 0,495 Bytes - Last Modified: 2021-12-23T10:19:51+00:00
/var/www/docs.ssmods.com/process/src/_config.php
1234567891011 | <?php // enable shortcodable buttons and add to HtmlEditorConfig $htmlEditorNames = Config::inst()->get('ViewTemplate', 'htmleditor_names'); if (is_array($htmlEditorNames)) { foreach ($htmlEditorNames as $htmlEditorName) { HtmlEditorConfig::get($htmlEditorName)->enablePlugins(['viewtemplate' => Director::BaseURL() . 'viewtemplate/javascript/tinymce_viewtemplate/editor_plugin_src.js']); HtmlEditorConfig::get($htmlEditorName)->addButtonsToLine(1, 'viewtemplate'); } } |