-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
🐥 FEfront-end 개발front-end 개발
Description
- 텍스트 에디터 검토 (이미지 업로드 기능 필요)
- 텍스트 에디터 > 추가
- 텍스트 에디터 > 로딩
- 텍스트 에디터 > 첨부 > 이미지 업로드
- 텍스트 에디터 > 이미지 사이즈 조절
- 텍스트 에디터 > 이미지 압축
- 마크다운 모드 추가
- 텍스트 에디터 > 이미지 드레그 업로드
- 텍스트 에디터 > 게시글 수정시 불러오기
- 텍스트 에디터 > lazy 업로드
React-Quill
- React-Quill Editor 이미지 처리하기 (유력?)
- 간편하게 구현, 멀티 이미지 업로드
- https://yhuj79.github.io/React/230214/
- Quill React 에디터 사용해보기 (이미지 업로드 및 사이즈 조절)
- nexjs에 사용: https://www.datadeveloper.kr/datas/nextjs/view/data2401-12
- 에디터에 설정하는 module을 외부 파일로 분리: https://codesandbox.io/p/sandbox/react-quill-preserve-whitespace-4h211?file=%2Fsrc%2Fconstants.js%3A11%2C14-11%2C28
- css 조작해서 디자인 수정: http://codesandbox.io/p/sandbox/react-quill-editor-with-image-resize-kv7u2f?file=%2Fsrc%2Fstyles.css
- 🌟 SEO 문제 해결: https://velog.io/@pds0309/nextjs%EC%97%90%EC%84%9C-Quill-Editor-%EC%9D%B4%EB%AF%B8%EC%A7%80-%EC%B5%9C%EC%A0%81%ED%99%94%ED%95%98%EA%B8%B0
마크다운 구현법
- https://cloverhearts.github.io/quilljs-markdown/
- https://stackoverflow.com/questions/64989971/install-quilljs-markdown-on-react
검토
- CKEditor
- 복사 붙여넣기 이미지 업로드 가능 (nextjs와 궁합이 안좋음 ㅠㅠ)
- 마크다운 모드는 유료
- 많이 사용
- https://justweon-dev.tistory.com/75
- 조회: https://velog.io/@yund_272/%EB%A6%AC%EC%95%A1%ED%8A%B8-CKEditor5-%EC%A0%81%EC%9A%A9%EA%B8%B0-88vylruv
- 이미지 업로드 예시 코드: https://codesandbox.io/s/react-ckeditor-upload-image-demo-cwcvh4?file=/src/App.tsx
- 예시 코드: https://codesandbox.io/p/sandbox/ck-editor-new-2rdt0d?file=%2Fpackage.json%3A6%2C26
- 예시 코드: https://codesandbox.io/s/react-ckeditor-upload-image-demo-cwcvh4?file=/src/App.tsx:366-379
- React-Quill Editor 이미지 처리하기 (유력?)
- 2년동안 유지보수 되지 않았음 (React 19에서 안되는것으로 보임)
- 마크다운 플러그인은 nextjs에서 안됨
- 간편하게 구현, 멀티 이미지 업로드
- https://yhuj79.github.io/React/230214/
- Quill React 에디터 사용해보기 (이미지 업로드 및 사이즈 조절)
- Draft.js
- Lexical
- 페이스북이 공개한 에디터
- 토스트 UI 에디터
- 리엑트 18 미지원
- 블로그에 개발 가이드 참고할만함
- onPaste
이미지 compression
Metadata
Metadata
Assignees
Labels
🐥 FEfront-end 개발front-end 개발