JSFiddle - React, Tailwind, and code Playground

by doug65536

HTML

<div id="test"></div>

JavaScript

(function($,undefined) {
    var oldTableEditor = $.fn.tableEditor;
    $.fn.tableEditor = function() {
        this.each(function() {
            var element = $(this),
                context = element.data('context.tableEditor');
            console.log(typeof context);
        });
    };
}(jQuery));

$('#test').tableEditor();