JSFiddle - React, Tailwind, and code Playground
HTML
<script src="//cdn.ckeditor.com/4.5.6/standard-all/ckeditor.js"></script>
<textarea cols="80" id="editor1" name="editor1" rows="10">
<h1><img alt="Saturn V carrying Apollo 11" class="right" src="http://c.cksource.com/a/1/img/sample.jpg"/> Apollo 11</h1>
<p>foo bar</p>
</textarea>
<script>
CKEDITOR.replace( 'editor1', {
extraPlugins: 'image2',
removePlugins: 'image',
height: 400,
stylesSet: [
{ name: 'Image decoration', type: 'widget', widget: 'image', attributes: { 'class': 'testStyle' } }
]
} );
</script>