I am building a chrome extension where I want to update content in an existing TinyMCE instance on the page.
I can make it work if I manipulate DOM before scripts ("run_at": "document_end").
However I need to update the content based on user selection.
Any suggestions on which strategy I should investigate?