Tui.editor: typing Korean in iOS not working well

Created on 11 Sep 2020  ยท  4Comments  ยท  Source: nhn/tui.editor

Sorry :( I can't speak English

Describe the bug

iOS ํ™˜๊ฒฝ์—์„œ Tui editor์— ํ•œ๊ธ€์„ ์ž…๋ ฅํ•˜๋ฉด ์ดˆ์„ฑ/์ค‘์„ฑ/์ข…์„ฑ์ด ๋ถ„๋ฆฌ๋˜๋Š” ํ˜„์ƒ์ด ์ผ์–ด๋‚˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. ์•ˆ๋“œ๋กœ์ด๋“œ๋Š” ํ™•์ธํ•˜์ง€ ๋ชปํ–ˆ์Šต๋‹ˆ๋‹ค๋งŒ
"ํ•œ๊ธ€" ์„ ์ž…๋ ฅํ•˜๋ฉด "ใ…Žใ…ใ„ดใ„ฑใ…กใ„น" ์ด๋ ‡๊ฒŒ ์ž…๋ ฅ๋ฉ๋‹ˆ๋‹ค.
iOS 14 PB8, iOS 12.4์—์„œ ํ™•์ธํ–ˆ์Šต๋‹ˆ๋‹ค.

ํ•˜๋‹จ ์ด๋ฏธ์ง€ ์ฐธ๊ณ ํ•ด ์ฃผ์„ธ์š”.

To Reproduce

Steps to reproduce the behavior:

  1. open editor in iOS
  2. write Korean

Expected behavior

A clear and concise description of what you expected to happen.
ํ•œ๊ธ€ ์ดˆ์„ฑ/์ค‘์„ฑ/์ข…์„ฑ์ด ๋ถ„๋ฆฌ๋˜์ง€ ์•Š๊ณ  ์ž…๋ ฅ

Screenshots

error_screenshot

Smartphone (please complete the following information):

  • Device: iPhone 6s+
  • OS: iOS 14.0 PB 8
  • Browser: Safari
  • Version 14

Smartphone (please complete the following information):

  • Device: iPhone 6
  • OS: iOS 12.4
  • Browser: Safari
  • Version 12.1.2
Bug Markdown

Most helpful comment

@hellojsna It seems to be a problem when typing in markdown mode. If correct, this is a known issue, it is difficult for us to solve in the current version. Because the Markdown editor is implemented using CodeMirror, there is a problem with iOS IME input in the current CodeMirror's version (v5).

Reference Issue : https://github.com/codemirror/CodeMirror/issues/3690#issuecomment-419146355

So, to fix this problem, we need to update the major version and we are currently developing 3.0.

All 4 comments

Markdown ๋ชจ๋“œ์—์„œ๋งŒ ๋ฌธ์ œ๊ฐ€ ๋ฐœ์ƒํ•ฉ๋‹ˆ๋‹ค.
์ถ”์ธกํ•ด๋ณด์ž๋ฉด ํ‚ค๋ณด๋“œ ์ด๋ฒคํŠธ๊ฐ€ ๋ฐœ์ƒํ•  ๋•Œ ํƒ€์ดํ•‘์ค‘์ธ DOM ์„ ๊ฑด๋“œ๋ฆฌ๋Š”๋ฐ ์กฐํ•ฉ์ค‘์ธ ๊ธ€์ž๊นŒ์ง€ ํฌํ•จ๋˜์–ด ์กฐํ•ฉ์ด ๊นจ์ง€๋Š” ํ˜„์ƒ์œผ๋กœ ๋ณด์ž…๋‹ˆ๋‹ค.

๊ทธ๋Ÿฌ๋ฉด ๋ชจ๋ฐ”์ผ์€ ๋‹ค๋ฅธ ์—๋””ํ„ฐ ์“ฐ๋Š” ๋ฐฉ๋ฒ•๋ฐ–์— ์—†๋Š”๊ฑธ๊นŒ์š”?

๋ฒ„๊ทธ์ˆ˜์ •์— ๋„์›€ ๋˜์‹œ๋ผ๊ณ  MutationObserver ์˜ˆ์ œ ํ•˜๋‚˜ ์˜ฌ๋ ค๋“œ๋ฆฝ๋‹ˆ๋‹ค.
iOS ์—๋งŒ ๋‚˜ํƒ€๋‚˜๋Š” ๋ฒ„๊ทธ๋ฅผ ์žฌํ˜„ํ•ด๋ณด๋ ค ํ–ˆ๋Š”๋ฐ, ๊ทธ๊ฑด ์‰ฝ์ง€ ์•Š๋„ค์š”.
๊ฐ์ฒด ์ˆ˜์ •์ด ๋ฌธ์ œ์ธ์ง€, ์ปค์„œ ์กฐ์ž‘์ด ๋ฌธ์ œ์ธ์ง€๋Š” ๋ชจ๋ฅด๊ฒ ์ง€๋งŒ, ํ˜„์žฌ ์กฐ์ž‘์ค‘์ธ textNode ๋งŒ ๊ฑด๋“œ๋ฆฌ์ง€ ์•Š๋Š”๋‹ค๋ฉด ๋ฌธ์ œ๋Š” ๋ฐœ์ƒํ•˜์ง€ ์•Š์„๊ฒ๋‹ˆ๋‹ค.
https://codepen.io/crucifyer/pen/oNxdgQo

@hellojsna It seems to be a problem when typing in markdown mode. If correct, this is a known issue, it is difficult for us to solve in the current version. Because the Markdown editor is implemented using CodeMirror, there is a problem with iOS IME input in the current CodeMirror's version (v5).

Reference Issue : https://github.com/codemirror/CodeMirror/issues/3690#issuecomment-419146355

So, to fix this problem, we need to update the major version and we are currently developing 3.0.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

existme picture existme  ยท  3Comments

kelvinkoko picture kelvinkoko  ยท  3Comments

cyberjacob picture cyberjacob  ยท  4Comments

hrvoj3e picture hrvoj3e  ยท  3Comments

bricepepin picture bricepepin  ยท  3Comments