Created
July 28, 2016 09:41
-
-
Save vinyll/16fa34cdfa146fb035245da596e0a04c to your computer and use it in GitHub Desktop.
Medium editor blur test
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
<meta charset=utf-8> | |
<script src="http://cdn.jsdelivr.net/medium-editor/latest/js/medium-editor.min.js"></script> | |
<link rel="stylesheet" href="http://cdn.jsdelivr.net/medium-editor/latest/css/medium-editor.min.css" type="text/css"> | |
<section class=editable> | |
Test me | |
</section> | |
<script> | |
var editor = new MediumEditor('.editable') | |
editor.subscribe('blur', function (event, editable) { | |
console.debug('blurred!', event, editable) | |
}) | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment