배경
#14 조사에서 current editor에는 live markdown shortcut transform이 없음을 확인했다. 미래에 typing 중 markdown-like input을 heading/mark/list 같은 구조로 transform하면, triggering text input과 transform을 같은 undo unit으로 둘지 별도 undo unit으로 둘지 명시해야 한다.
근거
docs/editor-composition-history-policy-audit.md
- Lexical #8365는 markdown shortcut transform이 triggering text input과 merge되어 undo가 input까지 지우는 문제를 고치기 위해 transform 성공 시 별도 history push tag를 추가했다.
해야 할 일
- Live markdown shortcut이 제품 범위인지 결정한다.
- 추가한다면 transform origin을 history grouping policy에 노출한다.
- Trigger text만 되돌릴지, transform만 되돌릴지, 둘을 한 unit으로 둘지 fixture로 고정한다.
완료 기준
배경
#14 조사에서 current editor에는 live markdown shortcut transform이 없음을 확인했다. 미래에 typing 중 markdown-like input을 heading/mark/list 같은 구조로 transform하면, triggering text input과 transform을 같은 undo unit으로 둘지 별도 undo unit으로 둘지 명시해야 한다.
근거
docs/editor-composition-history-policy-audit.md해야 할 일
완료 기준