Date: Thu, 28 Mar 2024 21:43:18 +0200 (EET) Message-ID: <576044501.622.1711654998858@ip-172-30-3-56.ec2.internal> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_621_584097409.1711654998852" ------=_Part_621_584097409.1711654998852 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
You tried to integrate the WProofr= eader plugin for CKEditor 5: put the webspellchecker folder downloaded thro= ugh NPM into the lib directory, then imported the wproofreader.js in your = js where where you are initializing CKEditor 5. But as soon as you run the= build, it gives you the error from the wproofreader.js.
Below is an example of such an error:
ESLintError in plugin "gulp-eslint"
Message:
'WEBSPELLCHECKER' is not defined.= p>
Details:
fileName: C:\...\...\...\...\...\...\...\src\lib\@web= spellchecker\wproofreader-ckeditor5\src\wproofreader.js
lineNumber: 221
domainEmitter: [object Object]
domainThrown: false
The problem is with custom list of= rules in your ESLint. We have= a writing rule for such a case, but our ESLint config is not included in the npm package. Thus, you have to modify = your ESLint so that it does not throw such an error. For example, you can a= dd the ignoring of the WEBSPELLCHECKE= R variable or ignoring such type of the errors in general.