💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、豆包、星火、月之暗面及文生图、文生视频 广告
###获取内容 用户在使用编辑器时,源码都是实时更新到textarea中。 用户可以通过textarea获取编辑器的源码值。 可参见 [在线的demo](http://wangeditor.github.io/wangEditor/test/test-get-value.html) ```html var editor = $('#textarea1').wangEditor(); //点击按钮,获取编辑器的源码 $('#btn').click(function(){ var html = $('#textarea1').val(); }); ```