JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://ckeditor.com/apps/ckeditor/4.3.3/ckeditor.js"></script>
<div id="wrapper" style="display:none;">
    <textarea cols="80" rows="10" id="editor1">A</textarea>
</div>
<button id="btn">Toggle editor</button>

JavaScript

CKEDITOR.replace('editor1');
$('#btn').click(function () {
    $('#wrapper').toggle();
});