Skip to content

Commit

Permalink
Merge pull request #59 from open-sausages/pulls/4.0/i18n-locale
Browse files Browse the repository at this point in the history
Remove unnecessary tinymce config
  • Loading branch information
chillu authored Feb 15, 2017
2 parents 37a7e68 + b4e047b commit 015b400
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 015b400

Please sign in to comment.