suneditor icon indicating copy to clipboard operation
suneditor copied to clipboard

appendContents raises error

Open jwestfall opened this issue 3 years ago • 2 comments

Version 2.42.0 has introduced a bug with the appendContents method. It was previously working with 2.41.3 and now raises an error:

TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'.

I was able to replicate this on Chrome 99 and Firefox 98 with suneditor version 2.42.0 by using the console to call that method on an editor instance.

jwestfall avatar Mar 30 '22 23:03 jwestfall

This issue is not reproduced. Please tell me more detail.

JiHong88 avatar Apr 02 '22 11:04 JiHong88