안녕하세요 editor 를 통해 글 작성하는 작업을 진행하고 있습니다. 혹시 에디터의 전체...
# 03_도움-요청
u
안녕하세요 editor 를 통해 글 작성하는 작업을 진행하고 있습니다. 혹시 에디터의 전체 크기를 키울 수 있는 방법은 없을까요? 스타일에 적용이 안되는거 같아서요..
1
- 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(); 스크립트에서도 반응이 없습니다..!
z
티켓을 만들었습니다. *티켓 #54* | 상태: 신규 | 계정: select
u
안녕하세요 말씀주신 부분 확인해보겠습니다!