Created
April 30, 2011 21:25
-
-
Save ZenCocoon/950006 to your computer and use it in GitHub Desktop.
Do not edit on blank for a single instance.
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
<p> | |
<span id="editable"></span> | |
<a href="#" id="externalcontrol">click to edit</a> | |
</p> | |
<script> | |
// <![CDATA[ | |
new Ajax.InPlaceRichEditor($('editable'), URL, { | |
editOnBlank: false, | |
externalControl: $('externalcontrol')}, | |
TINYMCE_OPTIONS | |
); | |
// ]]> | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment