Page tree

Versions Compared

Key

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

...

HTML
<!-- external modules -->
<script type="text/javascript" src='https://www.synapeditor.com/se/resource/synapeditor/externals/formulaParser/formula-parser.min.js'></script>
<script type="text/javascript" src='https://www.synapeditor.com/se/resource/synapeditor/externals/SEDocModelParser/SEDocModelParser.min.js'></script>
<script type="text/javascript" src='https://www.synapeditor.com/se/resource/synapeditor/externals/SEShapeManager/SEShapeManager.min.js'></script>
<script type="text/javascript" src='https://www.synapeditor.com/se/resource/synapeditor/externals/codeMirror/codemirror.min.js'></script>
<script type="text/javascript" src="https://www.synapeditor.com/se/resource/synapeditor/externals/codeMirror/xml.min.js"></script>
<link rel='stylesheet' href='https://www.synapeditor.com/se/resource/synapeditor/externals/codeMirror/codemirror.min.css'>

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

<!-- plugins -->
<script src="https://integrations.wiris.kitchen/stable/html/generic/dist/demo.js"></script>
<script src="/se/resource/synapeditor/plugins/mathType/mathType.min.js"></script>

<div style="background-color: #ffffff; width:99%; height:600px;">
        	<div id="synapEditor"></div>
</div>
<script>
window.onload = function () {
		synapEditorConfig['editor.mode.sticky'] = false; // 2019. 05. 07 jy 추가
		synapEditorConfig['editor.toolbar'] = [
			'new', 'open', 'template', 'layout', 'autoSave', '|',
			'print', 'pageBreak', 'contentsProperties', '|',
			'undo', 'redo', '|',
			'copy', 'cut', 'paste', '|',
			'copyRunStyle', 'pasteRunStyle', '|',
			'ruler', 'guide', 'source', 'preview', 'fullScreen', '|',
			'WebAccessibilityChecker', 'personalDataProtection', 'find', 'conversion', '|',
			'help', 'about', '-',
			'bulletList', 'numberedList', 'multiLevelList', '|',
			'alignLeft', 'alignCenter', 'alignRight', 'alignJustify', '|',
			'decreaseIndent', 'increaseIndent', '|',
			'paragraphProperties', '|',
			'link', 'unlink', 'bookmark', '|',
			'image', 'background', 'video', 'file', '|',
			'mathType.math', 'mathType.chem', '|',
			'table', 'div', 'drawAbsolutePositionDiv', 'horizontalLine', 'quote', '|', 'selectionMode', 'shapeEditor',
			'specialCharacter', 'emoji', '-',
			'paragraphStyleWithText', '|',
			'fontFamilyWithText', '|',
			'fontSizeWithText', '|',
			'lineHeightWithText', '|',
			'bold', 'italic', 'underline', 'strike', '|',
			'growFont', 'shrinkFont', '|',
			'fontColor', 'fontBackgroundColor', '|',
			'superScript', 'subScript', '|',
			'customRunStyle', 'removeRunStyle', '|',
			'customParagraphStyle', '|',
			'responsive'
		],
		window.editor = new SynapEditor('synapEditor', synapEditorConfig);
}
</script>

...