Created
October 24, 2012 15:20
-
-
Save CrookedNumber/3946714 to your computer and use it in GitHub Desktop.
<HEAD> for create.js
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
<!-- load the jQuery and require.js libraries --> | |
<script type="text/javascript" src="http://cdn.aloha-editor.org/latest/lib/vendor/jquery-1.7.2.js"></script> | |
<script type="text/javascript" src="http://cdn.aloha-editor.org/latest/lib/require.js"></script> | |
<!-- load the Aloha Editor core and some plugins --> | |
<script src="http://cdn.aloha-editor.org/latest/lib/aloha.js" | |
data-aloha-plugins="common/ui, | |
common/format, | |
common/list, | |
common/link, | |
common/highlighteditables"> | |
</script> | |
<!-- load the Aloha Editor CSS styles --> | |
<link href="http://cdn.aloha-editor.org/latest/css/aloha.css" rel="stylesheet" type="text/css" /> | |
<!-- make all elements with class="editable" editable with Aloha Editor --> | |
<script type="text/javascript"> | |
Aloha.ready( function() { | |
var $ = Aloha.jQuery; | |
$('.editable').aloha(); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment