Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

HTML
width1000
cleanfalse
script#test.html
height800
HTML
<html>
<head>
<title>테스트</title>
<link href='http://www.synapeditor.com/resource/synapeditor/synapeditor.css' rel='stylesheet' type='text/css'>
<script src='http://www.synapeditor.com/resource/synapeditor/synapeditor.js'></script>
</head>
<body onload="initEditor();">
<div style="background-color: #ffffff; width:100%; height:600px;">
        <div id="synapEditor"></div>
</div>
<script>
function initEditor() {
        parent.document.querySelector('iframe').style.border = "none";
        window.editor = new SynapEditor('synapEditor', {
                'editor.license': {"key":["U2FsdGVkX19Sg2cno9NTojvZHBv8ra5kN5Lm+l3GtaCDrPEI0zsW6NNfAQ49iImzuUNaehdxt5FH+VlHOB9U3okQO705iwRKD5XvdHFSbuIvp1nuOmVFQ9rkFJyEUI/jOkzuLKqxc8IuVX4OMKHPQ+dQEkIXg3wD+1GJ6wvaM5v9d0LIowHCQQtPgRX8Dlfk"]},
                'editor.menu.show': true
        });
}
</script>
</body>
</html>