JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://cdn.ckeditor.com/4.4.7/standard-all/ckeditor.js"></script>
<link rel="stylesheet" href="http://sdk.ckeditor.com/theme/css/sdk-inline.css">
<body>
<div id="top"></div>
<button id="button">Finalize</button>
<div id="editor" style="width:400px; height:200px; border: 1px solid black">
Sample text
</div>
</body>
JavaScript
var edt = CKEDITOR.inline( 'editor', {
on: {
blur: function(evt) { console.log('CkEditor Blur'); }
}
} );
$('#editor').blur(function() { console.log('Global Blur'); });
$('#button').click(function() { edt.destroy(); $('#button').remove(); });