JSFiddle - React, Tailwind, and code Playground

by mblase75

HTML

<script src="http://ckeditor.com/apps/ckeditor/4.1.1/ckeditor.js"></script>
<div id="dialog-edit" title="Edit" style="display: none;">
    <table cellspacing="10">
        <tr>
            <td>
                <form method="post" name="form">
                    <table>
                        <tr>
                            <td></td>
                            <td></td>
                            <td></td>
                        </tr>
                    </table>
                    <br/>
                    <textarea class="" name="html" id="html" style="width: 766px; height: 390px; margin-left: 6px;"><span>test <i>test</i> test</span></textarea>
                    <br/>
                    <input type="submit" name="save" id="save" value="Salva modifiche" class="button" />
                </form>
            </td>
        </tr>
    </table>
</div>

JavaScript

function showDialogEdit() {
    $("#dialog-edit").dialog({
        width: 680,
        height: 620,
        modal: true,
        open: function (event, ui) {
            CKEDITOR.replace('html');
        }
    });
}

showDialogEdit();