This is a child of simpleeditor.ts ad richeditor.ts.
I do not want to modify simpleeditor.ts as there I have working solution with resetting content and event handler, but I need to test plugins before adding to ptplate. Starting point of this repo was simpleeditor.ts after that I started to adding plugins from richeditor.ts
Content from here should be moved to pt.plate