Solution 1 (Preferred)
You can add config.versionCheck = false;
to the config.js
file within the ckeditor directory.
// ckeditor/config.js
CKEDITOR.editorConfig = function( config ) {
config.versionCheck = false;
};
Solution 2 (Hacky)
Alternatively, a more "hacky" method is to manually increment the version number to one that doesn't throw an error.
The version is declared in ckeditor.js
in the first line. Look for:
version:"4.22.1"
and simply update it to
version:"99.4.22.1"
Note (!)
Please be aware that you will be running a version of ckeditor with known vulnerabilities with both of these methods.
React Library Specific
Because you're using a wrapper library "ckeditor4-react" you'll need to work out how that library passes config values to the core ckeditor4 library. The documentation here says you can do it in the following way:
<CKEditor
config="{{versionCheck: false}}"
initData="<p>Initial content in here</p>"
/>