Open a new page when Layer.open how to initialize the layedit component on the new page, and how to Synchronize the layedit content to textarea
`layui.use (["layer"], function () {
var layer = layui.layer;
layer.open({
content: "/base/addTo/"+addform,
btn: ["",""],
yes: function(index, layero){
var body = layer.getChildFrame("body", index);
var iframeWin = window[layero.find("iframe")[0]["name"]];
var form = body.find("-sharpeditForm");
var bt=$(".layui-layer-btn0");
var editor = body.find("-sharpeditor");
// var i = editor.attr("index");
alert(editor.val());
if(form.valid()){
var loadindex = layer.load(0, {time: 10*1000});
$.post("/base/add/"+addform,
form.serialize(),`