lborgman / easy-cap-ed

For the captions editor EasyCapEd
0 stars 0 forks source link

Deleting/inserting line breaks may corrupt DOM #144

Closed lborgman closed 4 years ago

lborgman commented 5 years ago

The content of the whole captions div may disappear. (However the database is ok.)

No idea yet why. Simple bug? Or something that needs MutationObserver?

lborgman commented 5 years ago

Only happens in cloud, works ok locally.

Deleting line break works ok. Inserting line break has this bug.

lborgman commented 4 years ago

I have implemented a workaround for this (some months ago) that I think is sufficiently good. (Using MutationObserver would be better, but is rather much work in this case.)

Changing status to "maybe bug".

lborgman commented 4 years ago

This has been fixed in a more safe way for some time now.