Created
June 16, 2009 05:52
-
-
Save mrchrisadams/130556 to your computer and use it in GitHub Desktop.
This file contains 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
// Add the rich text editor if it's needed on the page, and the required objects exist | |
if ($('#new_content').length && YAHOO.util.Event && YAHOO.util.Dom) { | |
// if (console) {console.log('adding the rte');} | |
$('#title').attr('value', 'Title'); | |
NAG.add_RTE('new_content', '517px', '414px'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment