Created
October 17, 2011 13:11
-
-
Save mandrasch/1292573 to your computer and use it in GitHub Desktop.
Loading WYSIWYG Editor in custom block (Concrete5)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h2>Description 1</h2> | |
<?php | |
Loader::element('editor_init'); | |
Loader::element('editor_config'); | |
Loader::element('editor_controls'); | |
?> | |
<div class="ccm-block-field-group" id="ccm-editor-pane"> | |
<textarea id="description" class="ccm-advanced-editor advancedEditor" name="description" rows="5" style="width: 95%;"><?php echo $description; ?></textarea> | |
</div> | |
<!-- Only one WYSIWYG Editor possible at this time because of concrete5 bug --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment