-
Notifications
You must be signed in to change notification settings - Fork 12
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
Package managers #85
Comments
So, I think it's pretty obvious that:
This means that: developers will need to build customised CKEditor's packages for their use. We allowed that in CKEditor 4, but IMO we must enforce this approach even further. Developers are lazy, and I understand that, but at the end it's we who lose because we are blamed for being bloated. We may however:
But most importantly we need a very simple building step. In CKEditor 5 it will only require Node.JS, defining your preset and running two or three simple commands. In my extremism I would even propose that we don't publish ANY built packages on package managers. |
I was wondering if our builder could not be integrated with package managers, enabling exactly what you're talking about. Anyway, I don't have enough expertise on the topic. Just leaving the comment here for research. |
I'm new with CKEditor4 (and Javascript ) and I am interested in what is being planned for CKEditor5. Currently, I'm using https://github.com/django-ckeditor/django-ckeditor into my project. I think I did exactly in django-ckeditor/django-ckeditor#212 as @Reinmar said:
but I only did it because had not understood that the recommended architecture is distribute ckeditor + plugins in a monolithic js file (correct me if I am wrong) the questions are: 1 - What is the recommended way, that packages like django-ckeditor, distribute the new CKEditor5 + some selected plugins?
2 - programmatically or via the command line or any API, how could you get the dependencies tree of a plugin? Sorry my bad English. |
I think that you did what >90% of developers using CKEditor 4 did. And I didn't mean that developer's laziness is to be blamed. The biggest problem (the root of it) is that CKEditor 4 does not guide you, does not enforce some correct behaviours and does not have proper tools (e.g. there's a builder, but it requires Java and it's hardly extensible). With CKEditor 5 we'll definitely fix the builder thing (now Node.JS based) and we will definitely create the documentation with focus put on how to deal correctly with CKEditor's super-modularity. My point here is that we should also take some additional precautions to save developers from failing into the same "laziness". For instance, stop proposing any packages that pretend to be ready-to-use. So, we could for instance propose something like this:
|
I posted a thread for presets in #135. |
Cleaning up outdated discussions. See #186 |
There should be clarity on how we expect CKEditor 5 to be used with package managers:
Easy upgrading is ofc a related feature.
The text was updated successfully, but these errors were encountered: