Created
February 25, 2013 15:42
-
-
Save jbroadway/5030694 to your computer and use it in GitHub Desktop.
Using Elefant's wysiwyg editor in your own forms
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
<!-- apps/demo/views/wysiwyg.html --> | |
{! admin/util/wysiwyg !} | |
<textarea name="body" id="webpage-body" cols="90" rows="28">{{body}}</textarea> |
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
<?php // apps/demo/handlers/wysiwyg.php | |
$this->require_admin (); | |
$page->layout = 'admin'; | |
$page->title = __ ('WYSIWYG Demo'); | |
echo View::render ('demo/wysiwyg'); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment