Page tree

Versions Compared

Key

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

 

Status
title릴리즈 2.16.2304 이상


에디터의 내용에 맞게 에디터 높이를 설정 에디터 컨텐츠의 높이에 맞추어 에디터 높이가 설정되도록 할 수 있습니다.

컨텐츠 높이에 맞춤

'editor.size.height.fit'을 true로 설정하면 에디터의 높이가 컨텐츠의 높이만큼 조절됩니다. (기본값 false)

'editor.lineHeight'를 이용하여 툴바에 표시되는 줄간격크기를 설정합니다. .size.height.fit.min'을 설정하면 에디터의 최소높이를 설정할 수 있습니다. (기본값 null)

Code Block
languagejs
themeEmacs
titlesynapeditor.config.js
{
	'editor.size.height.fit': truefalse,
    'editor.size.height.fit.min': null // 기본값 false
}

0이하는 줄간격 적용이 불가합니다.

관련정보

글꼴 크기
2.17.2307 이상
}


editor.size.height.fit : true


Warning

컨텐츠 높이 설정('editor.size.height.fit': true) 시 에디터 높이 설정('editor.size.height': '600px')은 무시됩니다.

Iframe 모드에서는 컨텐츠 높이 설정('editor.size.height.fit': true)이 불가합니다.


editor.size.height.fit.min: null
Image Added



Status
title릴리즈 2.17.2307 이상

editor.size.height.fit.min: 300

Image Added



Info

리사이즈 핸들('editor.resizable': true)을 이용해 에디터의 높이를 설정한 이후에는 컨텐츠에 맞추어 높이 조절이 되지 않습니다.

Image Added