Inject content into the iframe


I’ve opened the iframe (inside a different web site). But I’d like to dynamically change the content in the editor via javascript.

I’m hoping that this will speed up the rendering in the render-only mode, since it won’t be necessary to completely reconstruct the hidden iframe contents. Is there an easy way to do this given a .md text string or do I need to manually create the cledit-section “divs”, and children?