Page tree

Versions Compared

Key

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

...

이에 따라, 이 요소들과 관련된 CSS 스타일을 별도로 설정해야 합니다.

Image RemovedImage RemovedImage RemovedImage AddedImage AddedImage Added

일반 mode에디터는 <div> 태그 내에 위치합니다.
Iframe에디터가 <iframe> 안에 위치합니다.
Iframe mode에디터가 <iframe> 안에 위치하며, 편집 영역이 <iframe>안쪽에 위치합니다.

...

  • HTML 파일에 <link>태그를 추가하여 CSS 스타일을 추가할 수 있습니다.
  • 예를 들어, editor.html, index.html 등의 파일에 아래와 같이 적용합니다.위의 그림과 같이 synapeditor.min.css는 최상위 haed에 설정해야 합니다.

editor.html 설정 예시

Code Block
languagexml
themeEmacs
titleeditor.html
linenumberstrue
<!-- SynapEditor 객체가 존재해야 적용할 수 있기 때문에 에디터 스크립트 파일 아래에 include 해야 합니다 -->

<link rel="stylesheet" href="../synapeditor.min.css">

index.html 설정 예시

Warning

synapeditor.min.css을 설정하지 않으면 문서 이력 비교, 임포트 및 워드 미리보기의 스타일이 적용되지 않습니다. 

  • 위의 그림과 같이 synapeditor.min.css는 최상위 haed에 설정해야 합니다.
Code Block
languagexml
themeEmacs
titleindex.html
linenumberstrue
<link rel="stylesheet" href="../synapeditor.min.css">

<!-- 다이얼로그, 풍선 팝업, 툴팁과 관련된 css의 url -->
<link rel="stylesheet" href="externalStyle.min.css의 url">
<link rel="stylesheet" href="shapeEditor.min.css의 url">
<link rel="stylesheet" href="webAccessibilityChecker.min.css의 url">
<link rel="stylesheet" href="webSpellChecker.min.css의 url">
<link rel="stylesheet" href="personalDataProtection.min.css의 url">
<link rel="stylesheet" href="characterPicker.min.css의 url">
<link rel="stylesheet" href="documentComparison.min.css의 url">
<link rel="stylesheet" href="formEditor.min.css의 url">
<link rel="stylesheet" href="forbiddenWordDetection.min.css의 url">
<link rel="stylesheet" href="ocr.min.css의 url">

...