Skip to content
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

build CKEditor5 simply with basic function that compatible with CKEditor4 #54

Closed
wants to merge 1 commit into from

Conversation

WebberMao
Copy link

@WebberMao WebberMao commented Jul 11, 2021

Hello, this PR done the following jobs

  1. build CKEditor5 simply with basic function that compatible with CKEditor4.
  2. create Ckeditor5 ckfinder.
  3. fix Ckeditor4 file_uploader can not be use in 'basic' pkg_type bug.

The user can switch the version of CKEditor by setting
app = CKEditor(app, version=4) #version=4 in default
app = CKEditor(app, version=5)

and change the editor_type (support CKEditor5 only) by setting config
CKEDITOR_EDITOR_TYPE = 'classic' #and all the other types

hope you will like it!

@greyli greyli linked an issue Sep 24, 2021 that may be closed by this pull request
@abdounasser202
Copy link

I read the issue #39 and i'm asking, what's the status of this PR please ?

@greyli
Copy link
Member

greyli commented Dec 3, 2021

what's the status of this PR please?

@abdounasser202 I'm thinking of providing a separate class for CKEditor 5 (something like helloflask/bootstrap-flask#161), so that we don't need to set a default value for version when creating the extension class.

@WebberMao Thanks for working on this. Could you refactor to use different extension classes for different versions? By the way, I notice you rewrite the whole file, it makes git can't diff the changes.

@WebberMao
Copy link
Author

@greyli Sure, it may take some time. I will post another RP later.

@greyli
Copy link
Member

greyli commented Dec 5, 2021

Thank you, there is no hurry. Please also use separate PRs for different tasks.

@WebberMao WebberMao closed this Jan 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Plans to CKEditor 5?
3 participants