Axllent\CMSTweaks\CMSTweaks
Synopsis
class CMSTweaks
extends LeftAndMainExtension
{
- // members
- private static boolean $hide_help = true;
- private static string $invalid_elements = '';
- private static object $extended_valid_elements = 'span[!class|!style],p[class|style],' . 'img[class|src|alt|title|hspace|vspace|width|height|align|name|usemap|data*],' . 'embed[width|height|name|flashvars|src|bgcolor|align|play|loop|quality|' . 'allowscriptaccess|type|pluginspage|autoplay];
- // methods
- public void init()
- public void onAfterInit()
- public void setHtmlEditorConfig()
- protected string resolvePath()
Hierarchy
Extends
- SilverStripe\Admin\LeftAndMainExtension
Members
private
- $extended_valid_elements
—
string
Extended CMS valid editor elements -
$hide_help
Hide the help links in the CMS footer - $invalid_elements
—
string
Invalid CMS editor elements
Methods
protected
- resolvePath() — Expand resource path to a relative filesystem path Duplicated from TinyMCEConfig::resolvePath()
public
- init() — Init function
- onAfterInit() — Run after init
- setHtmlEditorConfig() — Set default options for TinyMCE Add timestamps to included css files