inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

리액트로 나만의 블로그 만들기(MERN Stack)

CKEditorError: ckeditor-duplicated-modules

4398

rhdlwmal1234

작성한 질문수 6

0

안녕하세요. CKEDITOR5 잘 따라가고 있는와중에 EditorConfig에서 import한 editorConfiguration을 사용하려고하는데 errror가 떠서 질문드립니다.

에러는 KEditorError: ckeditor-duplicated-modules Read more: https://ckeditor.com/docs/ckeditor5/latest/framework/guides/support/error-codes.html#error-ckeditor-duplicated-modules

이런식으로나옵니다.

import React, { useStateuseEffect } from "react";
import styled from "styled-components";
import { CKEditor } from "@ckeditor/ckeditor5-react";
import ClassicEditor from "@ckeditor/ckeditor5-build-classic";
import { editorConfiguration } from "../../Components/Editor/EditorConfig";

const CategoryBoard = ({ setInputData }) => {
  const onChange = (e=> {
    setInputData(e.editor.getData());
  };

  const getDataFromCKEditor = (eventeditor=> {
    console.log(editor);
  };

  return (
    <>
      <CKEditor editor={ClassicEditor} confing={editorConfiguration} />
    </>
  );
};

export default CategoryBoard;

react redux bootstrap mongodb nodejs express

답변 1

0

싸플

import ClassicEditor from '@ckeditor/ckeditor5-editor-classic/src/classiceditor';

src에서 가여와야 합니다. src에서 가져와 웹팩이 빌드해서 build폴더로 옮겨놓는데, build에서 가져오면 빌드된게 2개라

중복되었다고 나옵니다. 

npm run dev-watch 오류

0

77

1

npm i react-redex redux-saga react-router-dom connected-react-router bootstrap reactstrap dotenv 명령어 설치하면 에러날까요?

0

440

1

mongodb 자세히 알고 싶습니다

0

264

1

강의 듣으면서...포스트 맨도 안됩니다

0

247

1

혹시 gatsby 생성하는 명령어 하는지 알고 싶습니다

0

274

1

webpack 설정 문제입니다.

0

309

1

Category관련 질문

0

232

1

https://www.ssaple.net/ 블로그 접속이 되질 않아요.

0

311

1

리액트 버전 오류 나시는 분들 참고

0

481

1

react 18버전에서의 connected-react-router 가 설치가안됩니다

0

1069

1

jwt.sign() 에서의 질문입니다.

0

207

1

ssaple.net 접속이 안됩니다.

0

368

1

Media(Video) 파일 첨부관련 질문

0

296

1

페이지 Link를 이용한 페이지 이동이 안됩니다

0

339

1

webpack.config.js 설정

0

832

1

몽고db 사이트가 많이 바뀌어서

0

344

1

선생님 req에 아무것도 안들어오는데 혹시 뭐가문제일까요 ?

0

302

1

안녕하세요 강의 잘 보고 있습니다 질문 하나 있는데요 ..

0

1586

1

그대로 따라하였고 하루종일 reboot하는데 되지않습니다..

0

213

1

Encountered two children with the same key 에러..

0

865

1

강사님 redux에러 질문이요

1

244

2

선생님 왜 저는 백날해도 collapse 내용이 link아래로 갈까요?

0

350

2

postDetail scss 문제

0

233

3

강사님 포스트 디테일 부분을 똑같이 작성하였는데 이런 오류가 나서 도저히 방법을 모르겠습니다 ㅠㅠ

0

211

1