JSFiddle - React, Tailwind, and code Playground

by DrDelete

HTML

<div class="wysihtml5-supported">
    <table class="table table-striped table-bordered table-hover questions-sortable">
        <tbody class="ui-sortable">
            <tr data-questionid="6">
                <td class="commands"> <a class="question-edit" href="#">Bewerken</a>
| <a class="question-delete" href="#">Verwijderen</a>
 <a class="question-move" href="#">Naar ander incident</a>
                </td>
                <td class="question">
                    <input name="Questions[0].Id" id="Questions_0__Id" type="hidden" value="6">
                    <ul class="wysihtml5-toolbar"></ul>
                    <textarea name="Questions[0].Text" class="input-xxlarge editor-large" id="Questions_0__Text" style="display: none;" rows="3" cols="20">&lt;p&gt;Hoeveel is 1 + 1 ?&lt;/p&gt;</textarea>
                    <input name="_wysihtml5_mode" type="hidden" value="1">
                    <iframe width="0" height="0" class="wysihtml5-sandbox" frameborder="0" marginwidth="0" marginheight="0" style="margin: 0px; padding: 4px 6px; outline: rgb(85, 85, 85) 0px; border-radius: 4px; border: 1px solid rgb(204, 204, 204); border-image: none; left: auto; top: auto; width: 530px; height: auto; text-align: left; right: auto; bottom: auto; clear: none; vertical-align: middle; float: none; display: inline-block; border-collapse: separate; position: static; z-index: auto; box-sizing: content-box; box-shadow: inset 0px 1px 1px rgba(0,0,0,0.075); background-color: rgb(255, 255, 255); -webkit-box-shadow: undefined; -webkit-box-sizing: undefined; -moz-box-sizing: undefined; outline-offset: undefined; -moz-box-shadow: undefined; -webkit-border-top-left-radius: undefined; -moz-border-radius-topleft: undefined; -webkit-border-top-right-radius: undefined; -moz-border-radius-topright: undefined; -webkit-border-bottom-left-radius: undefined; -moz-border-radius-bottomleft: undefined; -webkit-border-bottom-right-radius: undefined; -moz-border-radius-bottomright: undefined; -ms-box-sizing:...

CSS

<style> html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    font: inherit;
    margin: 0px;
    padding: 0px;
    border: 0px currentColor;
    border-image: none;
    vertical-align: baseline;
    font-size-adjust: inherit;
    font-stretch: inherit;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
table {
    border-collapse: collapse;
    max-width: 100%;
    border-spacing: 0;
    background-color: transparent;
}
.table {
    width: 100%;
    margin-bottom: 20px;
}
.table-bordered {
    border-width: 1px 1px 1px 0px;
    border-style: solid solid solid none;
    border-color: rgb(221, 221, 221) rgb(221, 221, 221) rgb(221, 221, 221) currentColor;
    border-radius: 4px;
    border-image: none;
    border-collapse: separate;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
}
.accordion-inner {
    padding: 9px 15px;
    border-top-color: rgb(229, 229, 229);
    border-top-width: 1px;
    border-top-style: solid;
}
.collapse {
    transition:height 0.35s;
    height: 0px;
    overflow: hidden;
    position: relative;
    -webkit-transition: height 0.35s ease;
    -moz-transition: height 0.35s ease;
    -o-transition: height 0.35s ease;
}
.in.collapse {
    height: auto;
}
.accordion-group {
    border-radius: 4px;
    border: 1px solid rgb(229, 229, 229);
    border-image: none;
    margin-bottom: 2px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
}
.accordion {
    margin-bottom: 20px;
}
form {
    margin: 0px 0px 20px;
}
.container, .navbar-static-top .container, .navbar-fixed-top...

JavaScript

$(function() {}
  $(".questions-sortable tbody").sortable();
  );