-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Custom Build Using ImageUpload & SimpleUploadAdapter Results in "plugincollection-plugin-name-conflict" Error #15542
Comments
Hi! Thank you for your patience. AFAICS, You are using a custom build, as a predefined build would be imported as
No, you don't. In this case, you just need to prepare your custom build and load I cannot reproduce the issue when I use the online builder with your set of plugins. What kind of bundler (Vite/webpack?) are you using? CKEditor as now needs a specific setup of those to load correctly. |
oh man!!! it's little stuff like I've built this in a sandbox app that is separate from our actual app, in order to get this built out for our custom requirements. The project this is going into is a couple of years old and currently using Quill, which has been deprecated. That project was built off of node 12.0.8 and we can get it upgraded to ~16 without everything breaking, but can't get any higher without more major rebuild like this editor replacement. So the sandbox I built is using Vue 2, Vue-cli, Babel, Webpack, configured through the
// vue.config.js - based off the docs with some alias additions
unrelated to this issue, but a problem none the less... with this particular configuration, please let me know what other information I can provide to make this any easier. I'll need to remove/replace some test data but could put the project up on github if you'd like to take a full look at it. |
Sorry for the late reply! I would appreciate it if you could provide some minimal reproducible sample. |
There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may still be relevant, so if you're interested in the solution, leave a comment or reaction under this issue. |
We've closed your issue due to inactivity. We understand that the issue may still be relevant. If so, feel free to open a new one (and link this issue to it). |
Overview
I'm trying to use the
ImageUpload
plugin and theSimpleUploadAdapter
to control the image upload. Following the documentation as best I can, I've seen what appear to be conflicts in information regarding either my setup or the documentation itself (or my understanding of it). I'm building a custom editor for a Vue 2 project using@ckeditor/ckeditor5-vue2
built on top of@ckeditor/ckeditor5-editor-classic
as the docs suggest. When using a very simple setup of just a basic editor with image plugins and the simple uploader I get this error:ckeditor.js:5 CKEditorError: plugincollection-plugin-name-conflict {"pluginName":"FileRepository"}
If I comment out either of those 2 plugins the error goes away but trying to use them in conjunction, as the docs suggest, I get the error.
Perhaps the first problem I'm running into is that the docs for the
SimpleUploadAdapter
say:This lead me to look into building a custom adapter. But reading into those docs ( specifically the section How does the image upload work? ) the bottom of that section states that for image upload to work the image upload plugin must be enabled and the upload adapter needs to be defined and configured -> then pointing at one of the existing upload adapter suggesting that my desired setup should potentially be possible:
I'm not sure if this is a docs issue, a me issue, or a bug
That leads to a potential second problem - If I cant use the simple uploader in a predefined build then I probably need to build a custom one.
Referring to this part of the documentation about When to use the framework, it sounds like that may need to be my use case.
At the bottom of that page, however, in the What’s next? section:
Both the Quick Start > Creating an Editor and the Crash Course > Creating an Editor, even the separate doc Building the Editor from Source, all start and build off of the classic editor... which appears to be a predefined build... which I can't use because the simple upload adapter can't be used. So there appears to be no instruction on how to truly build an editor from scratch.
📝 Provide detailed reproduction steps (if any)
// imports
// configuration
✔️ Expected result
Allowed use of configured plugin without error
❌ Actual result
plugincollection-plugin-name-conflict {"pluginName":"FileRepository"}
📃 Other details
// package.json
The text was updated successfully, but these errors were encountered: