suneditor icon indicating copy to clipboard operation
suneditor copied to clipboard

Load an html with ajax load and insert in editor

Open leandrocombr opened this issue 3 years ago • 1 comments

How do I load an html with ajax load and insert into the editor

Example

suneditor.load("http://url/api");

don't work

leandrocombr avatar Mar 30 '22 20:03 leandrocombr

You can use the subeditor.setContents() method.

JiHong88 avatar Apr 02 '22 11:04 JiHong88