How to populate a textarea (medium-editor) with content from a variable

A post was split to a new topic: Medium editor wrong includes order