Voog / wysihtml

Open source rich text editor for the modern web

Home Page:http://wysihtml.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

contentEditableMode & DOMNodeRemoved

maxxi165 opened this issue · comments

Editor init with textarea and contentEditableMode: true
After applying any html command destroy:composer event fires and composer stops syncing with textarea.
i add some logging. it looks like

commands.bold.exec
handleDomNodeRemoved
fire destroy:composer
Synchronizer stopInterval

considering the fact that when form submitting programmatically by form.submit() events linked with addEventListener doesn't fired, so textarea submitting with not actual content.