ask how the rich text in layui is asynchronously valued.
layui.use("layedit", function(){
let introduce = layui.layedit ;
let content = introduce.build("introduce",{
hideTool:["face"],
introduce.getContent(content);
introduce.sync(content)
});
asynchronously submit code
$("button[type=submit]").click(function(){
let form = $(this).parents("form");
let data = form.serializeArray();
let method = form.attr("method");
let action = form.attr("action");
$.ajax({
url : action,
type : method || "get",
data : data
success(res)
{
cosole.log(res)
})
});
submission in this way is always unable to get the value of textarea