pikulinpw / ckeditor5-resizableheight

Optimize your CKEditor 5 editing space with the ResizableHeight plugin. This plugin adds the ability to set the height of the editor and also change its size. Adds the ability to resize.
Other
9 stars 1 forks source link

Help: How to implement it with the custom build CKeditor? #3

Open KatuGT opened 3 months ago

KatuGT commented 3 months ago

Hello! first of all, thanks for this plugin, is just what I was looking

now let me explain myself

I used the " online builder" https://ckeditor.com/ckeditor-5/online-builder/ and of course I downloaded my CK Editor now iIf I try to follow the steps I get an error for duplicated modules

I am working with react/nextjs 14

how should I implement it in this case?

image

Thank you!

alkautsarm commented 1 month ago

Hi, I faced the same issue. I use it in React v16 and ckeditor5 v42. I tried to change the package in node_modules directly by replacing the import and it works.

// Replace below
import Plugin from '@ckeditor/ckeditor5-core/src/plugin';

// With below
import { Plugin } from 'ckeditor5';

I assume CKEditor consider it duplicates since we use different package for importing the same thing.