JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
<script src="https://cdn.ckeditor.com/4.6.2/standard/ckeditor.js"></script>
<textarea name="editor"></textarea>
<div id="result">
<p>Put some text in the editor to see the preview.</p>
</div>
JavaScript
var editor = CKEDITOR.replace('editor', {
height: 100
});
editor.on('change', function () {
$('#result').html(this.getData())
});