♻️ [Refactor] RichTextEditor 구조 리팩터링 — Serializer 모듈 분리 및 UITextView 기반 에디터 구현 (#917)#924
Open
LeeYeJi546 wants to merge 4 commits into
Open
♻️ [Refactor] RichTextEditor 구조 리팩터링 — Serializer 모듈 분리 및 UITextView 기반 에디터 구현 (#917)#924LeeYeJi546 wants to merge 4 commits into
LeeYeJi546 wants to merge 4 commits into
Conversation
- 구 위치(Views/MarkdownSerializer.swift)에서 Serializer/ 디렉토리로 분리 - 파서/직렬화기 역할별 파일 분리: MarkdownBlockParser, MarkdownInlineParser, MarkdownBlockSerializer, MarkdownInlineSerializer, MarkdownAttributeBuilder, MarkdownAutoformat, MarkdownEscaping, MarkdownHTMLDetector, MarkdownRegex, MarkdownSerializerTypes
- RichTextViewRepresentable: SwiftUI UIViewRepresentable 래퍼 - RichTextCoordinator: 에디터 핵심 Coordinator (델리게이트/이벤트 관리) - 기능별 Coordinator 확장 분리: +Blockquote, +List, +MarkdownAutoformat, +Placeholder, +Scroll - BlockquoteTextView: 인용구 렌더링 커스텀 서브클래스 수정 - UITextView+MinimumHeight: 최소 높이 보장 익스텐션
- DefaultToolbarView: 기본 텍스트 편집 툴바 - TextSelectedToolbarView: 텍스트 선택 시 컨텍스트 툴바 - TableCellToolbarView: 표 셀 편집 전용 툴바
- 서식 적용 패널 UI 구현 (굵기/기울임/목록/인용구 등 포맷 옵션 제공)
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
✨ PR 유형
리팩터링 (♻️ Refactor) — RichTextEditor 내부 구조 개편
📷 스크린샷 or 영상(UI 변경 시)
🛠️ 작업내용
Views/MarkdownSerializer.swift단일 파일을Serializer/디렉토리로 분리RichTextViewRepresentable: SwiftUI UIViewRepresentable 래퍼RichTextCoordinator: 에디터 핵심 Coordinator (델리게이트/이벤트 관리)BlockquoteTextView인용구 렌더링 수정,UITextView+MinimumHeight익스텐션 추가DefaultToolbarView: 기본 텍스트 편집 툴바TextSelectedToolbarView: 텍스트 선택 시 컨텍스트 툴바TableCellToolbarView: 표 셀 편집 전용 툴바📋 추후 진행 상황
📌 리뷰 포인트
NoticeEditor/RichTextEditor/Serializer/— Markdown 파싱/직렬화 로직 정확도 확인NoticeEditor/RichTextEditor/NoticeRichText/— UITextView Coordinator 이벤트 흐름 및 메모리 관리 확인NoticeEditor/RichTextEditor/Toolbar/— 3종 툴바 UI 레이아웃 및 액션 연결 확인NoticeEditor/RichTextEditor/FormatPanel/— 포맷 패널 UI 및 상태 바인딩 확인✅ Checklist
PR이 다음 요구 사항을 충족하는지 확인해주세요!!!