Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when editing lots of content ,will lag and be very slow #50

Open
NorthWind17 opened this issue Jun 4, 2024 · 0 comments
Open

when editing lots of content ,will lag and be very slow #50

NorthWind17 opened this issue Jun 4, 2024 · 0 comments

Comments

@NorthWind17
Copy link

NorthWind17 commented Jun 4, 2024

editing lots of content, the editor will lag and be very slow in Vue2

"vue": "^2.7.14",
"@ckeditor/ckeditor5-vue2": "^3.0.1",
"ckeditor5-custom-build": "file:ckeditor5",

<ckeditor ref="ckeditor" :value="editorData" :editor="editor" :config="editorConfig" :disabled="!isEdit" @ready="onReady" @input="onEditorInput" @destroy="onEditorDestroy" @blur="onBlurFn" ></ckeditor> import CKEditor from '@ckeditor/ckeditor5-vue2' import Editor from 'ckeditor5-custom-build/build/ckeditor'

but if i use <script src="./ckeditor5/build/ckeditor.js"></script>
ClassicEditor.create(document.querySelector('.stEditorCopy'), config) .then((editor) => { window.editor = editor }) .catch((error) => { console.error('Oops, something went wrong!') console.error( 'Please, report the following error on https://github.com/ckeditor/ckeditor5/issues with the build id and the error stack trace:' ) console.warn('Build id: w2x4hsrl3dlt-xws7pn8ntdyc') console.error(error) })
Having the same amount of content won't lag and slow,This is strange

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant