From 0dd6d1ad46a0b9f6f91690b44c62fd564e3694fc Mon Sep 17 00:00:00 2001 From: Grey Li Date: Thu, 4 Jul 2024 22:23:17 +0800 Subject: [PATCH] Disable version check --- CHANGES.rst | 3 +++ README.md | 10 +++------- flask_ckeditor/__init__.py | 1 + 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index f027993..0a93c40 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -6,6 +6,9 @@ Changelog Release date: - +- Disable the version check for old CKEditor versions. + + 0.5.2 ----- diff --git a/README.md b/README.md index 74bf600..2c9dc21 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,9 @@ CKEditor integration for Flask, including image upload, code syntax highlighting, and more. +> [!IMPORTANT]\ +> This project is unmaintained due to the CKEditor 4's end of life, and we will not support CKEditor 5 (GPL licensed). +> Please consider using paid CKEditor 4 LTS version, CKEditor 5, or other alternatives. Thanks! ## Links @@ -16,13 +19,6 @@ CKEditor integration for Flask, including image upload, code syntax highlighting * [Examples](https://github.com/helloflask/flask-ckeditor/tree/master/examples) -## Donate - -If you find Flask-CKEditor useful, please consider -[donating today](https://opencollective.com/flask-ckeditor/donate). Your donation keeps -Flask-CKEditor maintained and updated with CKEditor. - - ## License This project is licensed under the MIT License (see the `LICENSE` file for details). diff --git a/flask_ckeditor/__init__.py b/flask_ckeditor/__init__.py index 97f2c91..8d9f2ba 100644 --- a/flask_ckeditor/__init__.py +++ b/flask_ckeditor/__init__.py @@ -105,6 +105,7 @@ def _get_config(name, url=False): filebrowserUploadUrl: "{file_uploader}", filebrowserBrowseUrl: "{file_browser}", extraPlugins: "{','.join(extra_plugins)}", + versionCheck: false, {csrf_header} // CSRF token header for XHR request {custom_config} }});