테스트 사이트 - 개발 중인 베타 버전입니다

ckeditor5 툴바의 일부가 보이지 않는것은 왜 그런가요?

아길이 1년 전 조회 878

<script>
            ClassicEditor.create( document.querySelector('#{$id}'), {
                language: 'ko',
                toolbar: {
                    items: [
                        'fontfamily', 'fontsize', '|',
                        'alignment', '|',
                        'fontColor', 'fontBackgroundColor', '|',
                        'bold', 'italic', 'strikethrough', 'underline', 'subscript', 'superscript', '|',
                        'link', '|',
                        'outdent', 'indent', '|',
                        'bulletedList', 'numberedList', 'todoList', '|',
                        'code', 'codeBlock', '|',
                        'insertTable', '|',
                        'uploadImage', 'blockQuote', '|',
                        'undo', 'redo'
                    ],
                    shouldNotGroupWhenFull: true
                },
                extraPlugins: [CKEditorUploadAdapterPlugin]
            }).then(newEditor=>{{$id}_editor=newEditor }).catch(error=>{console.error(error); });
        </script>

 

위처럼 아이템 배열에는 있는데도 아래 툴은 보이지 않는데 이유가 뭘까요?

                        'fontfamily', 'fontsize', '|',
                        'alignment', '|',
                        'fontColor', 'fontBackgroundColor', '|',

 

댓글을 작성하려면 로그인이 필요합니다.

답변 1개

1년 전

https://ckeditor.com/docs/ckeditor5/latest/installation/getting-started/predefined-builds.html#when-not-to-use-predefined-builds
Predefined Build 환경에서 추가되지 않은 Plugin 이 호출되어 발생된 현상은 아닌지 확인이 필요할것 같습니다.

 

https://ckeditor.com/ckeditor-5/online-builder/
또는 online 빌더로 필요한 Plugin 을 빌드하는 방법이 있는것 같습니다.

로그인 후 평가할 수 있습니다

답변에 대한 댓글 1개

아래크
1년 전
온라인 빌더 했는데 일부 툴바가 안보이던데
main.js 파일 추가해야지되나요?
추가하면 어떻게 불러오나요?

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인