조사할 것
IME composition 중에 toolbar state, decorations, collaborative update, async React render, remote patch가 들어오면 browser composition target DOM이 바뀔 수 있다. composition을 깨지 않으면서 외부 model update를 반영하는 정책을 조사한다.
근거
- ProseMirror changelog에는 composition 중 document/decorations 변경을 즉시 보여주되, focused text node에 영향을 주는 decorations는 composition cancel 방지를 위해 지연한다는 변경이 있다.
- ProseMirror changelog에는 composition과 동시에 같은 위치에 content가 삽입되어 invalid change position이 계산된 문제도 있다.
- Lexical changelog에는 composition 중 format/style 이동 금지, typeahead menu가 IME composition 중 닫히지 않도록 하는 수정이 있다.
- Lexical PR #8148은 composition 중 다른 node로 이동할 때 format/style을 적용하지 않도록 수정했다.
확인 질문
- composition 중 외부 patch를 즉시 model에 적용할 수 있는가?
- focused text leaf를 바꾸는 render/decorator update는 compositionend까지 지연해야 하는가?
- remote update가 composition target과 같은 block을 수정하면 우선순위는 무엇인가?
- React render가 active text leaf DOM을 재생성하면 composition을 어떻게 보존할 것인가?
완료 기준
선행 조건
없음. 바로 시작 가능.
조사할 것
IME composition 중에 toolbar state, decorations, collaborative update, async React render, remote patch가 들어오면 browser composition target DOM이 바뀔 수 있다. composition을 깨지 않으면서 외부 model update를 반영하는 정책을 조사한다.
근거
확인 질문
완료 기준
선행 조건
없음. 바로 시작 가능.