-
Notifications
You must be signed in to change notification settings - Fork 964
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
[frontend/backend] Migrate CK Editor to 9.3 (#8151) #8577
Conversation
27225d7
to
6aa1c33
Compare
27225d7
to
cfddedf
Compare
c0b3de1
to
8be7cd6
Compare
cfddedf
to
41abcb1
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## release/6.4.0 #8577 +/- ##
=================================================
+ Coverage 66.00% 66.02% +0.01%
=================================================
Files 606 606
Lines 61322 61322
Branches 6239 6245 +6
=================================================
+ Hits 40476 40486 +10
+ Misses 20846 20836 -10 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment | ||
// @ts-ignore | ||
// eslint-disable-next-line import/extensions | ||
import de from 'ckeditor5/translations/de.js'; | ||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment | ||
// @ts-ignore | ||
// eslint-disable-next-line import/extensions | ||
import en from 'ckeditor5/translations/en.js'; | ||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment | ||
// @ts-ignore | ||
// eslint-disable-next-line import/extensions | ||
import es from 'ckeditor5/translations/es.js'; | ||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment | ||
// @ts-ignore | ||
// eslint-disable-next-line import/extensions | ||
import fr from 'ckeditor5/translations/fr.js'; | ||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment | ||
// @ts-ignore | ||
// eslint-disable-next-line import/extensions | ||
import ja from 'ckeditor5/translations/ja.js'; | ||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment | ||
// @ts-ignore | ||
// eslint-disable-next-line import/extensions | ||
import ko from 'ckeditor5/translations/ko.js'; | ||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment | ||
// @ts-ignore | ||
// eslint-disable-next-line import/extensions | ||
import zh from 'ckeditor5/translations/zh.js'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that's disgusting, I know 🤢 but cannot found a better way with how ckeditor is bundled...
5557724
to
4c0a82a
Compare
c150d0f
to
264e053
Compare
4c0a82a
to
665dff9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested locally
Proposed changes
Change the way we use CKEditor in OpenCTI.
Actual usage:
We have fetched a fix version of CKEditor and build a lib ourselves with the config we want to use it in our code.
New usage:
We fetch CKEditor from yarn as any other libs of the project and use it directly inside a new React component
CKEditor
that initiate the config to keep same behavior we had with the older build.The advantage of this is that it's easier to keep an up-to-date version of CKEditor.
Related issues