-
-
Notifications
You must be signed in to change notification settings - Fork 227
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
CKEditor 5 #6249
base: master
Are you sure you want to change the base?
CKEditor 5 #6249
Conversation
NOTE: Requires changes found in #6248 in order to work correctly. |
8edaf2e
to
910625d
Compare
Do you want to merge this into master for eventual release in 2.1? That way people could start testing it more easily? |
We're working on it. |
b631e67
to
264d140
Compare
Lots of updates today. |
Needs testing for multi-language. |
based on this post here, as well as my experience, the vertical height of the window can no longer be controlled via the i have added the following line to one of the global stylesheets which seems to work fine. .ck-editor__editable {
min-height: 250px;
} |
Thanks for digging that out. I was wondering what direction to take there. Perhaps we should also set |
i like the idea of having both ( as to which css file you want to include them in... well i have no opinion on that one... |
Tested on versions v210, v200, v158, v157, v156 to confirm that the CKE5 editor loads correctly using the code changes in this PR.
(Note on v156 the stylesheet is in the includes dir, not in the css subdir) |
NOTE: I found some issues with the multi-language part. Will explore more tomorrow. |
For english-only stores, the code currently in this PR should work fine on v156-thru-v201 |
In Chrome 126.0.6478.116, CKEditor fails to initialize (remains as default textarea) and see this in the console:
|
i have english only test stores, running in the same chrome version, and am unable to reproduce the error. do you have any more info? javascript versions? |
Zen Cart v1.5.8a |
Greetings. I have the exact same error as @matt-in-real-life mentioned. ck5 didn't load. Zen Cart v1.5.8a Chrome 126.0.6478.127 I downloaded two files from the "Files Changed" tab on the top of this page. Code has been manually added to the end of the css file. |
Hmmm. I can't duplicate the problem on Chrome 126.0.6478.127 either. Also tried in incognito mode with no plugins/extensions enabled. While it shouldn't matter, do you mind listing what plugins/extensions you have installed and enabled in Chrome? |
i am not able to reproduce it as well... |
Puzzled that it's even accessing |
@matt-in-real-life Can you test from another browser in case it's related to an extension you have enabled ? |
Could that just be the browser-caching the javascript? |
Same issue in Incognito in Chrome and in FireFox 115.12.0esr (64-bit) with no extensions. All on macOS 13.6 (22G120).
Cache cleared after making the changes initially, but which JS are you referring to? The relevant config.js is a new file in a new directory, so won't be cached. |
Thanks for your patience. It appears that it doesn't like having a I've pushed an update which seems to work fine now with single-language sites. Tested on v158 and v210.
|
@matt-in-real-life @njcyx You can try again using the updated |
Update: Multi-language should be working correctly now as well. |
Undecided about removing |
Ref #6209
This uses CKEditor 5 "Classic Mode", which turns a textarea field into an in-browser editor field.
This implementation "appears" initially to work, but I haven't tested whether there are features lost by making the change, nor any frustrations that end-users might encounter by using it with Classic mode defaults and no plugins.
Feedback requested because extensive testing is needed, lest content gets accidentally lost or formatting gets messed up because of settings or oversights.