Skip to content

Commit

Permalink
Remove unnecessary tinymce config
Browse files Browse the repository at this point in the history
  • Loading branch information
Damian Mooyman committed Jan 26, 2017
1 parent 37a7e68 commit b4e047b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions code/ReportAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
use SilverStripe\Forms\GridField\GridFieldFooter;
use SilverStripe\Forms\GridField\GridField;
use SilverStripe\Forms\HTMLEditor\HTMLEditorConfig;
use SilverStripe\i18n\i18n;
use SilverStripe\ORM\ArrayList;
use SilverStripe\ORM\SS_List;
use SilverStripe\Security\Member;
Expand Down Expand Up @@ -65,7 +64,6 @@ public function init()

// Set custom options for TinyMCE specific to ReportAdmin
HTMLEditorConfig::get('cms')->setOption('content_css', project() . '/css/editor.css');
HTMLEditorConfig::get('cms')->setOption('Lang', i18n::get_tinymce_lang());

Requirements::javascript(REPORTS_DIR . '/javascript/ReportAdmin.js');
}
Expand Down

0 comments on commit b4e047b

Please sign in to comment.