Skip to content

Commit

Permalink
change ckeditor4 reference to ckeditor #348
Browse files Browse the repository at this point in the history
  • Loading branch information
batopa committed Mar 27, 2013
1 parent fec55c7 commit 0a62a26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
4 changes: 1 addition & 3 deletions bedita-app/config/bedita.ini.php
Expand Up @@ -143,9 +143,7 @@

// Rich Text Editor ['true' to enable]
$config['mce'] = false;
$config['ckeditor'] = false;
$config['wymeditor'] = false;
$config['ckeditor4'] = true;
$config['ckeditor'] = true;

// Application messages - temporary messages duration
$config['msgPause'] = 3000; // milliseconds
Expand Down
13 changes: 1 addition & 12 deletions bedita-app/views/elements/texteditor.tpl
@@ -1,23 +1,12 @@
{if ($conf->mce|default:false)}

{$html->script("tiny_mce/tiny_mce", false)}
{$html->script("tiny_mce/tiny_mce_default_init", false)}

{elseif ($conf->wymeditor|default:false)}

{$html->script("wymeditor/jquery.wymeditor.pack", false)}
{$html->script("wymeditor/wymeditor_default_init", false)}

{elseif ($conf->ckeditor|default:false)}

{$html->script("ckeditor/ckeditor", false)}
{$html->script("ckeditor/adapters/jquery", false)}
{$html->script("ckeditor/ckeditor_default_init", false)}

{elseif ($conf->ckeditor4|default:false)}

{$html->script("ckeditor4/ckeditor", false)}
{$html->script("ckeditor4/adapters/jquery", false)}
{$html->script("ckeditor4/ckeditor_default_init", false)}

{/if}

0 comments on commit 0a62a26

Please sign in to comment.