JSFiddle - React, Tailwind, and code Playground

by royshoa

HTML

<script src="http://ckeditor.com/apps/ckeditor/4.0.1/ckeditor.js"></script>
<!DOCTYPE html>
<html>
<head>
	<title>Replace Textareas by Class Name &mdash; CKEditor Sample</title>
	<meta charset="utf-8">
	<script src="../ckeditor.js"></script>
	<link rel="stylesheet" href="sample.css">
</head>
<body>
    <textarea style="width:250px;border:1px solid black;">The width that its need to be</textarea>
    <br>
    <br>
    <table style="width:250px" cellspacing="0" cellpadding="0" border="0">
        <tr>
            <td>
	            <textarea id="editor1" name="editor1"  style="width:250px;">The width that CKEditor increase it to be because of the toolbar</textarea>
            </td>
        </tr>
    </table>
</body>
</html>

JavaScript

CKEDITOR.replace('editor1',{
    //toolbar : [['Bold']],
    width: '100%'
});