summernote airMode

HTML

<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<script src="https://netdna.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.4/summernote.min.js"></script>
<div id="normalnote">Initialized without airMode</div>
<br />
<br />
<br />
<br />
<div id="airnote">Initialized with airMode: true - the ID is changed to note-editor-1</div>

CSS

@font-face{font-family:"summernote";font-style:normal;font-weight:normal;src:url("font/summernote.eot?ad8d7e2d177d2473aecd9b35d16211fb");src:url("font/summernote.eot?#iefix") format("embedded-opentype"),url("font/summernote.woff?ad8d7e2d177d2473aecd9b35d16211fb") format("woff"),url("font/summernote.ttf?ad8d7e2d177d2473aecd9b35d16211fb") format("truetype")}[class^="note-icon-"]:before,[class*=" note-icon-"]:before{display:inline-block;font:normal normal normal 14px...

JavaScript

$("#airnote").summernote({
 airMode: true
});

$('#airnote').on('summernote.change', function(e) {
subjectContent=subjectContent.replace("word","replaceword");
alert("Chabnged")
});