dropndot/mondira-starter — pull request #2 by tojibon (2014-10-15 06:15:38+00:00)
Title: Theme settings code editor added for CSS, HTML and JS with Textarea

Theme options **formTableTextarea** with textarea type new **special class** added to replace the textarea code editor for CSS, HTML and JS.

List of special textarea classes are
1. mondiraCSSEditor
2. mondiraHTMLEditor
3. mondiraJSEditor

```php
$custom_css = !empty($custom_css)?$custom_css:'';
echo $html->formTableTextarea(array('title'=>'Custom CSS', 'name'=>'custom_css', 'type'=>'textarea', 'id'=>'custom_css', 'class'=>'large mondiraCSSEditor', 'value'=>$custom_css));
```

```php
$google_analytics = !empty($google_analytics)?$google_analytics:'';
echo $html->formTableTextarea(array('title'=>'Google Analytics', 'name'=>'google_analytics', 'type'=>'textarea', 'id'=>'google_analytics', 'class'=>'large mondiraHTMLEditor', 'value'=>$google_analytics));
```