suneditor
suneditor copied to clipboard
appendContents raises error
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.
This issue is not reproduced. Please tell me more detail.