JSFiddle - React, Tailwind, and code Playground

HTML

<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>Layout - jQuery EasyUI Demo</title>
	<link rel="stylesheet" type="text/css" href="https://www.jeasyui.com/easyui/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="https://www.jeasyui.com/easyui/demo/demo.css">
	<script type="text/javascript" src="https://www.jeasyui.com/easyui/jquery.min.js"></script>
	<script type="text/javascript" src="https://www.jeasyui.com/easyui/jquery.easyui.min.js"></script>
</head>
<body>

	<div id="pg">pg</div>

	<script type="text/javascript">

		(function ($) {
			$.fn.myeasyUI = function (opts) {
				var ret = main(opts, this);
				return ret;
			};

			function main(opts, $element) {
				if (!opts || !opts.plugin) { return $element; }
				$element[opts.plugin](opts.plugincontent);

				if (opts.contentarray instanceof Object) {
					$.each(opts.contentarray, function (i, o) {
						if (opts.plugin == 'layout') {
							$element[opts.plugin]('add', o);
							var p = $element[opts.plugin]('panel', o.region);
							var c = $('<div>').appendTo(p);
						} else if (opts.plugin == 'panel') {
							var c = $('<div></div>').appendTo($element);
							c.panel(o);
						}

						main(o, c);

						// $element[opts.plugin]()

					});
				}
				return $element;
			}

		})(jQuery);

		var data = { "total": 7, "rows": [{ "name": "Name", "value": "Bill Smith", "group": "ID Settings", "editor": "text" }, { "name": "Address", "value": "", "group": "ID Settings", "editor": "text" }, { "name": "Age", "value": "40", "group": "ID Settings", "editor": "numberbox" }, { "name": "Birthday", "value": "01/02/2012", "group": "ID Settings", "editor": "datebox" }, { "name": "SSN", "value": "123-456-7890", "group": "ID Settings", "editor": "text" }, { "name": "Email", "value": "bill@gmail.com", "group": "Marketing Settings", "editor": { "type": "validatebox", "options": { "validType": "email" } } }, { "name": "FrequentBuyer", "value": "false", "group": "Marketing Settings",...