에디터를 내용 높이에 맞추기

2.16.2304 버전부터 지원합니다.

에디터 높이를 내용의 높이에 자동으로 맞추도록 설정할 수 있습니다.

editor.size.height.fit을 true로 설정하면 에디터 높이가 내용 높이에 맞게 조정됩니다. (기본값: false)

editor.size.height.fit.min을 사용하여 에디터의 최소 높이를 설정합니다. (기본값: null)

// synapeditor.config.js
{
  'editor.size.height.fit': false,
  'editor.size.height.fit.min': null // 2.17.2307 and above
}

editor.size.height.fit: true

editor.size.height.fit.min: null

1.00

2.17.2307 버전부터 지원합니다.

editor.size.height.fit.min: 300

1.00

내용 높이 맞춤('editor.size.height.fit': true)을 사용하면 에디터 높이 설정('editor.size.height': '600px')은 무시됩니다.

Iframe 모드에서는 내용 높이 맞춤('editor.size.height.fit': true)을 사용할 수 없습니다.

에디터의 높이가 리사이즈 핸들('editor.resizable': true)을 사용하여 설정되면, 높이는 더 이상 내용에 맞게 자동으로 조정되지 않습니다.

1.00

관련 정보