To participate you must create an account on apostrophenow.org. If you have already done so, click Login.
Changeset 4488
- Timestamp:
- 01/20/12 14:54:20 (4 months ago)
- Author:
- kerry
- Message:
-
Format types for CKEditor can now be set in app.yml
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r4360
|
r4488
|
|
| 165 | 165 | |
| 166 | 166 | $ckEditor->config['toolbar'] = $toolbar; |
| 167 | | $ckEditor->config['format_tags'] = sfConfig::get('app_a_ckEditor_format_tags', 'p;h3;h4;h5;h6;pre'); |
| | 167 | $ckEditor->config['format_tags'] = sfConfig::get('app_a_ckEditor_format_tags', isset($ckEditor->config['format_tags']) ? $ckEditor->config['format_tags'] : 'p;h3;h4;h5;h6;pre'); |
| 168 | 168 | // We have to clobber the editor if CKEditor thinks it already exists. It would be nice to reuse it |
| 169 | 169 | // but we already pulled it out of the DOM to work with Apostrophe's refresh model for edit views. |
Download in other formats: