Page tree

Versions Compared

Key

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

...

HTML
<!-- jQuery -->
<script src="https://code.jquery.com/jquery-3.3.1.js"></script>

<!-- Synap Editor -->
<script src='http://www.synapeditor.com/se/resource/synapeditor.config.js'></script>
<script src='http://www.synapeditor.com/se/resource/synapeditor/synapeditor.min.js'></script>
<link href='http://www.synapeditor.com/se/resource/synapeditor/synapeditor.min.css' rel='stylesheet' type='text/css'>

<div style="background-color: #ffffff; width:99%; height:500px;">
        <div id="synapEditor">
			<p>
				<span>레이어 보기/감추기 ( 
				<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJxJREFUeNpi/P//PwMlgHHwGWBja6sApBqAOACI+aHCH4F4A0j8yOHDD3AaANQ8AUjlI8kfhNL2SGITgYYUoBgA1CgAZB8AYn2o+EWQC2C2QV21AU3eASj/gdHaxgZdMwgoghQA8QQovwCq5j6SGrAhTGgmg50NtXkCNAxAeAJU7CCSOpCeDUwMFAKKvUB5IFIlGqmWkIZmZgIIMAAQPGxHCatBKAAAAABJRU5ErkJggg=="/>
				 ) 기능을 이용해서 레이어 가이드를 보이게 하거나 감출 수 있습니다.</span>
			</p>
			<p><span></span></p>

			<div data-drawing-object-id="7bd836c2-85f7-43bc-9cc6-695662b1543e" class="se-div" data-paragraph-id="se_147873f6-3a7e-472a-b6da-b2c66b7c989c" style="padding: 5px; width: calc(100% - 10px); overflow: auto;">
				<p style="white-space: pre-wrap; word-wrap: break-word; margin: 0px;">
					<span>레이어 보기/감추기 아이콘을 클릭해보세요.</span>
				</p>
			</div>
			<p><span></span></p>
		</div>
</div>
<script>
		const config = Object.assign(synapEditorConfig, {
			"editor.license":"/se/resource/license.json",
			"editor.toolbar": [
				"new","|", 
				"div", "drawAbsolutePositionDiv", "|",
				"divGuide"
			],
			"editor.menu.show": false
			});
		window.editor = new SynapEditor("synapEditor", config, document.getElementById('synapEditor').innerHTML);
</script>

...