Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

Commit

Permalink
Use ACE editor in newer contao versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanlins committed Jul 14, 2014
1 parent 0708599 commit f96e7ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contao/dca/tl_theme_plus_javascript.php
Expand Up @@ -274,7 +274,7 @@
'allowHtml' => true,
'preserveTags' => true,
'class' => 'monospace',
'rte' => 'codeMirror|javascript',
'rte' => version_compare(VERSION, '3.3', '<') ? 'codeMirror|javascript' : 'ace|javascript',
'helpwizard'=> true),
'sql' => "blob NULL"
),
Expand Down
2 changes: 1 addition & 1 deletion contao/dca/tl_theme_plus_stylesheet.php
Expand Up @@ -278,7 +278,7 @@
'allowHtml' => true,
'preserveTags' => true,
'class' => 'monospace',
'rte' => 'codeMirror|css',
'rte' => version_compare(VERSION, '3.3', '<') ? 'codeMirror|css' : 'ace|css',
'helpwizard' => true
),
'sql' => "blob NULL"
Expand Down

0 comments on commit f96e7ee

Please sign in to comment.