Suneditor: onChange does not fire on empty content

Created on 23 Jun 2019  路  4Comments  路  Source: JiHong88/SunEditor

Great work! Just discovered and started using it. By far the best vanilla JS-editor I have seen,
I noticed that onChange not fire when you empty the editor. For example by deleting all content using backspace. So the only choice is to hook into another event like onKeyUp. Not optimal for performance,

Most helpful comment

Thank you :)

Updated to version 2.16.1

All 4 comments

Hi @davidkonrad

Thanks for your feedback!

I fixed it.

It will be applied to the next version.

Thank you : )

Hi @davidkonrad

Fixed in v2.16.0

Thank you.

Tanks a lot! Have not tried it out yet, but guess it is fixed. Have made a PR with danish translations, da.js,. Hope I have done it all correctly.

Thank you :)

Updated to version 2.16.1

Was this page helpful?
0 / 5 - 0 ratings

Related issues

drnkwati picture drnkwati  路  8Comments

drnkwati picture drnkwati  路  6Comments

Saeeed-B picture Saeeed-B  路  7Comments

guido-visser picture guido-visser  路  3Comments

vn516726 picture vn516726  路  3Comments