Skip to content

Instantly share code, notes, and snippets.

Avatar

Jai Kumar jvkumar

  • San Francisco bay area, CA
View GitHub Profile
@duncansmart
duncansmart / progressive-ace.htm
Created Mar 28, 2013
Integrating ACE Editor in a progressive way
View progressive-ace.htm
<textarea name="my-xml-editor" data-editor="xml" rows="15"></textarea>
...
<textarea name="my-markdown-editor" data-editor="markdown" rows="15"></textarea>
...
<script src="//d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js"></script>
<script>
// Hook up ACE editor to all textareas with data-editor attribute
$(function () {