batufa/application/config/editor.php
2011-04-26 13:52:23 +08:00

49 lines
969 B
PHP

<?php defined('SYSPATH') OR die('No direct access allowed.');
/**
* Use this configuration file for advanced settings.
* For example, here you can define editor params (path, scriptname):
*
* Editor_Markitup::$path = 'media/markitup';
*
*/
Editor::$language = strtolower(substr(I18n::$lang, 0, 2));
Editor_Ckeditor::$path = 'assets/ckeditor';
// set your editor profiles
// NOTE: when MarkItUp! used, you should set its size at PATH/skins/SKINNAME/style.css
return array
(
'default' => array
(
'width' => 300,
'height' => 1000,
'fieldname' => 'content'
),
'tinymce' => array
(
'driver' => 'tinymce',
'width' => 500,
'height' => 300,
'fieldname' => 'text',
/* 'params' => array
(
),*/
),
'ckeditor' => array
(
'driver' => 'ckeditor',
'width' => 400,
'height' => 600,
'params' => array
(
'skin' => 'kama',
'extraPlugins' => 'autogrow',
),
),
);