-
Notifications
You must be signed in to change notification settings - Fork 99
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
Update rich text editor to use CKEditor 5 and add a way to replace CKEditor with a customized version #610
Comments
The license has changed to GPL2+. And from my knowledge this is not compatible with the EPLv2. Therefore an update to ckeditor 5 is not possible. |
I think that's a question for the EMO but in general EPLv2 with secondary license is compatible as far as I know but you will require permission from all contributors: https://www.eclipse.org/legal/epl-2.0/faq/#h.cktcxkzh8ks4 Beside from that, if rich text editor could be made to work with version 4.x and 5.x e.g. using fragments that swap in the code, it would be possible to maintain 4.x as before and allow a user (or software product) to exchange it with 5.x version (e.g. such fragment can live in an own GPL versioned repository). |
Interesting. It seems, making the CKEditor code replaceable is the most promising option. The license question remains open, of. course. My original intent was to use the RTE from Nebula project, but replace its CKEditor with my own version, customized for editing Markdown code (trimmed for a custom Markdown dialect). For the case that the license question cannot be answered soon, do you see some other option of implementing a WYSIWYG-Markdown editor with open source software? (I didn't find a CKEditor 4 generator. If that one would exist, I'd create a customized CKEditor 4 version for Markdown that I could use to replace the CKEditor in RTE.) |
The license topic is not a trivial one. Despite the fact that all committers would need to accept the dual licensing, it would also mean that products that are using the RTE with ckeditor 5 would become automatically GPL2. And I am not sure if this is really a desirable state. From the FAQ
The fragment option could be possible. But I am not sure how much API changed from ckeditor 4 to 5. And how much rework it would mean in the BrowserFunctions etc. It could lead to a re-implementation of the RTE. And because of the licensing stuff probably of limited use. But yes, would be a question for the Eclipse Legal Team. I am not aware of any open source markdown wysiwyg editor. I typically use VS Code and use a preview window to see what I have done. That is also how you edit markdown in GitHub. |
Thank you, @wimjongman. I heard of WikiText, but it's not a WYSIWYG editor. It has the typical source code view and a preview as most available Markdown editors. In contrast, ckeditor is more like MS Word, having a single view for editing and preview using a toolbar for creating elements and formatting. That's what I'm looking for. |
It would be nice if the CKEditor version used in Nebula's richt text editor (RTE) would be updated to the latest CKEditor version (latest version today is 5.x, the version used in Nebula seems to be 4.12.1). Updating the RTE widget to using the latest CKEditor 5 API would allow for using the latest features or even for generating a customized CKEditor 5 version that could be used with the RTE. Maybe it would be an even better idea to extract the CKEditor JavaScript code to a separate, replaceable Eclipse feature (maybe provided through an extension point) in order to explicitly offer an option to generate a customized CKEditor 5.
I'm not sure if the CKEditor 5 license did change compared to version 4 or if some of the features from version 4 have to be payed for in version 5.
The text was updated successfully, but these errors were encountered: