-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
editor 初始化过程中触发了 onchange 事件 #26
Comments
我把 |
还有一个特殊场景是: texarea内容为空,或者根本没有textarea。 这时候第一次加载不应该 |
还是改一下吧,初始化load后的change才算是。先标记一下。 |
@v1.1.7 fixed. |
当创建,然后销毁编辑器,然后之后每次创建编辑器时,都会触发onchange事件。我用的editormd版本为1.5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://pandao.github.io/editor.md/examples/onchange.html
页面打开,什么都没有做,没有做任何编辑, 控制台就打印了onchange信息。
把textarea内容清空,或者直接把textarea删除,再打开页面,问题依旧。
也就是说在没有内容,用户也没有做任何编辑的情况下,就触发了onchange。
v1.1.6发现的此问题,之前版本没有发现。
The text was updated successfully, but these errors were encountered: