layui 富文本赋值:
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>layui</title> <meta name="renderer" content="webkit"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <link rel="stylesheet" href="/Public/lib/layui/css/layui.css" rel="external nofollow" media="all"> </head> <body> <textarea id="demo" style="display: none;"></textarea> <script src="/UploadFiles/2021-04-02/jquery.min.js">layui 富文本取值:
layedit.getContent(editIndex);//取整个值 layedit.getText(editIndex);//取纯文本值以上这篇layui 富文本赋值,取值,取纯文本值的实例就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持。