Editor Modal 띄우기
<Modal
	size = "xl"
	show = { modalShow }
	onHide = {() => setModalShow(false)}
	aria-labelledby="example-modal-sizes-title-xl">
	<Modal.Header closeButton />									
	<Modal.Body>
		<CKEditor
			editor = { CustomEditor }
			data = "" 
			onReady = { editor => {
				// You can store the "editor" and use when it is needed.
				// console.log( 'Editor is ready to use!', editor );
			}}
			onChange = { ( event, editor ) => {
				const data = editor.getData();
				setEditorData(data);
			}}
		/>
		<div className="send_button_box d-flex justify-content-end">                
			<Button onClick={handleSend}  variant="outline-secondary">발행</Button>
		</div>
	</Modal.Body>
</Modal>

 

이게 좋아 보였는데, 결국엔 페이지로 가게 되었다.

코딩도 기획도 복잡하게 가지 말자.
복잡한 거 치고 잘 된 거 없다.

이 카테고리의 목록124개의 게시물
달리기가 답이다2024. 3. 31.
해상임무 계승반지 작업2024. 3. 18.
Container 컴포넌트의 좌우 패딩 값 없애기2024. 2. 29.
에어컨설치 서비스 메인페이지 히어로섹션 기획2024. 2. 29.
에어컨설치 서비스 메인페이지 기획2024. 2. 29.
MUI, 머티리얼유아이 설치하기2024. 2. 29.
글로벌 스타일 적용하기2024. 2. 29.
Next.js + Firebase 프로젝트 시작하기2024. 2. 29.
파비콘 favicon.ico 적용하기2024. 2. 29.
네이버 블로그 포스팅, 누락 안되게 하기2024. 2. 28.