-
-
Notifications
You must be signed in to change notification settings - Fork 117
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
Add back the Ckeditor support on 5.x branch #647
Comments
👍 We should only provide the CKEditor for now. The other editors type look very experimental. We could use the new |
Shouldn't we add back the code from 4.x instead ? it's quicker, introduce no BC-break, worked before and need less work. |
As a first point yes. Later we could introduce Webpack if needed (not sure if we have script associated with the ckeditor) |
We're talking about a new major release. We should use the time to clean some technical debts. Using symfony ux is quite simple. There's also a POC for the CKEditor: https://github.com/xearts/symfony-ux-ckeditor5 |
But there is no time to take here IMHO. The SonataFormatter doesn't support
There is already a lot of BC-break in the 5.x branch to me. And since not a lot of people are working actively on Sonata bundles to release new majors (see how much time it took to release SonataAdmin 4, then how much was needed for Classification and Media 4), we should not add extra work/take extra time and delay the Sonata bundles major. The goal is to close sonata-project/dev-kit#1715 as soon as possible IMHO. Then, we can still work on a 6.x branch with webpack and stimulus. We can do major version more often if needed. |
We should do our best to have a good quality code. But for now, having to learn/apply some Stimulus / UX when we don't have any bundle using it, will be hard. We have other tasks like going to level 8 of phpstan and level 2/3 psalm that are higher in priority to me. Also adding some functional test would be nice too. Not saying that removing the inline js is not important but not having functional tests or good level of phpstan / psalm is more important to me. It helps building some trust when we change things. Also there are other things that we know how to do like: Removing bower and move to NPM (it was done on SonataAdminBundle already). (also more important than using inline scripts) |
I created this issue to resume some discussion from
All the formatter was too quickly removed. We should add back some of them.
cc @jordisala1991 @lukepass @core23
The text was updated successfully, but these errors were encountered: