xiumi" src="http://xiumi.us/studio/v5#/paper"></iframe>
</div>
<script>
    var salf;
    function setEdit(ed) {
        console.log('xx', ed);
        salf = ed;
    }
    var xiumi = document.getElementById('xiumi');
    var xiumi_url = 'http://xiumi.us';
    xiumi.onload = function () {
        console.log("postMessage");
        xiumi.contentWindow.postMessage('ready', xiumi_url);
    };
    window.addEventListener('message', function (event) {
        if (event.origin == xiumi_url) {
            window