- key: content
label: 내용
format: editor
style: |
.toastui-editor-defaultUI {
height: 1200px; /* 원하는 높이로 설정 */
}
.toastui-editor-main {
height: calc(100% - 42px); /* 툴바를 제외한 나머지 부분의 높이 설정 */
}
.toastui-editor-md-container {
height: 100%;
}
.toastui-editor {
height: 100%;
}
이렇게 columns 에 적용해도 반응이 없고,
requestFn: |
function adjustEditorHeight() {
// TOAST UI Editor 높이 조정
const editorDefaultUI = document.querySelector('.toastui-editor-defaultUI');
if (editorDefaultUI) {
editorDefaultUI.style.height = '1200px';
}
const editorMain = document.querySelector('.toastui-editor-main');
if (editorMain) {
editorMain.style.height = 'calc(100% - 42px)';
}
const editorMdContainer = document.querySelector('.toastui-editor-md-container');
if (editorMdContainer) {
editorMdContainer.style.height = '100%';
}
const editor = document.querySelector('.toastui-editor');
if (editor) {
editor.style.height = '100%';
}
}
adjustEditorHeight();
스크립트에서도 반응이 없습니다..!