-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Preset changes #2039
Comments
AS for the new presets I would like to see something like preset for comment, article, document editor as well as a preset for a minimalistic editor (even smaller than a basic preset). |
PNGs, used in OTOH idea of introducing new presets with more meaningful names also sounds good. So maybe deprecate |
I second this. |
Whenever thinking about changing presets, keep in mind that this is not only a form of CKEditor distribution that we provide to new users, but also (and maybe even first of all) our "contract" with existing users. For years we let them upgrade CKEditor easily to new versions using still the official CDN and just bumping the version number there, same with GitHub tags etc. If we modify the current presets by removing some plugins then we'd introduce a significant backwards incompatible changes. With the way how currently CKEditor and ACF works, there might be interesting side-effect consequences of getting rid of the smiley plugin from the full preset, including users losing images in existing articles. This may be due to the fact that smiley itself registers The last thing that we want is to have our long-time users suffering due to our quick decisions. What I'd prefer to do:
Last but not least, once we introduce new presets we should continue releasing old presets. Also considering the above, changing presets in 4.10.0 seems like something which is impossible to be done within so short timeframe. This should be rather discussed for 4.11.0. |
@wwalc I like the idea of backward compatibility, presented here. Adding New Presets & InfrastructureI'd be standing for gradually adding these new, named, presets to the mix. However the infrastructure should be ready for n additional presets starting from day one. So the amount here, dedicated for the infrastructure will be substantial. But afterwards I'd like it to be limited to some config change, where adding new preset would automatically populate. Named Presets CompatibilitySecond thing is related to compatibility. We treat basic/standard/full presets with extra care when talking about compatibility. But when thinking about our named presets, I'd like to see them being live. Web changes, content authors were inserting flash animations years ago. They were using images for expressing smileys. Today these techniques changed and most certainly they will evolve further in years from here. With the above in mind, our named presets should evolve along with the Web. However each change of the preset should be announced a fair time before the plugin will be actually dropped from the preset (say 2 releases). Additionally together with dropping the plugin from a preset, a information should be added pointing on how to keep the plugin. Example ScenarioWe have a Imagine we had a
|
As mentioned we'll need more time for tooling, and plan it out well, moving to next major release. |
Also note that with new presets we could introduce some breaking config settings, for instance we could set the default link protocol to https by default if #2227 gets in. |
Type of report
Task
Provide description of the task
Let's discuss preset changes in 4.10.0.
Out of new plugins very interesting option is
emoji
plugin. It's small and lightweight.However we already have a
smiley
plugin in full preset, which inserts emoticons based on completely different approach (images instead of UTF8 codes).Let's discuss what are the possibilities from here.
Some options available here are:
emoji
plugin to standard and full preset and deprecatesmiley
, meaning that it should be removed from full preset in two or next major release(s).The text was updated successfully, but these errors were encountered: