💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
###单页多个编辑器 如何在一个页面配置多个编辑器,其实非常简单。 只需要定义两个 textarea ,并各自执行 wangEditor() 方法即可。 可参见 [在线的demo](http://wangeditor.github.io/wangEditor/test/test-multi-text.html) ```html <textarea id='textarea1' style='height:200px; width:100%;'></textarea> <textarea id='textarea2' style='height:200px; width:100%;'></textarea> ……省略其他内容…… <script type="text/javascript"> $(function(){ var editor1 = $('#textarea1').wangEditor(); var editor2 = $('#textarea2').wangEditor(); }); </script> ```