Closed WebberMao closed 2 years ago
I read the issue #39 and i'm asking, what's the status of this PR please ?
what's the status of this PR please?
@abdounasser202 I'm thinking of providing a separate class for CKEditor 5 (something like https://github.com/greyli/bootstrap-flask/pull/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.
@greyli Sure, it may take some time. I will post another RP later.
Thank you, there is no hurry. Please also use separate PRs for different tasks.
Hello, this PR done the following jobs
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!