쌓고 쌓다

CKEditor5 한글 자음 모음 분리 에러 본문

프로그래밍/JavaScript

CKEditor5 한글 자음 모음 분리 에러

승민아 2024. 8. 11. 12:31

PC버전에서는 웹 에디터에 정상적으로 텍스트가 입력이 되었지만

모바일 환경에서 텍스트 입력시 띄어쓰기 이후로 자음 모음이 분리되는 현상이 일어났다.

Expect :

가 나 다 라

 

Result :

가 ㄴㅏ

 

 

https://github.com/ckeditor/ckeditor5/pull/16755

 

Fix: composition breaks typing a Korean after space key on Android Chrome by Johnyworld · Pull Request #16755 · ckeditor/ckedi

This issue still exists after version 42.0.1. Issue typing Korean after two space characters #11569 Composition breaks when typing a Korean phonetic radical after typing space key on Android Chrom...

github.com

 

 

ISSUE

42.0.1 버전 이후에도 여전히 이슈가 존재했고 임시로 js 파일을 커스텀하여 고칠 수 있는 내용들이 많지만

패치된 버전을 사용하자..

 

기존 Import Map

<script type="importmap">
{
    "imports": {
        "ckeditor5": "https://cdn.ckeditor.com/ckeditor5/42.0.2/ckeditor5.js",
        "ckeditor5/": "https://cdn.ckeditor.com/ckeditor5/42.0.2/"
    }    
}
</script>

 

변경된 Import Map

<script type="importmap">
{
    "imports": {
        "ckeditor5": "https://cdn.ckeditor.com/ckeditor5/43.0.0/ckeditor5.js",
        "ckeditor5/": "https://cdn.ckeditor.com/ckeditor5/43.0.0/"
    }
}

 

43.0.0 버전에서는 해당 이슈가 해결되어있다.

Comments