Closed Witoso closed 1 year ago
We also planned to expose Watchdog on the Editor class to completely avoid this additional dependency.
Some internal notes where we discussed this:
Editor
expose these
<CKEditor>
component and tries to build a custom app.tsc
needs to resolve import type { GetEventInfo } from '@ckeditor/ckeditor5-utils';
, so the utils package must be installed too.>=37.0.0
). 37 is the first number that offers typings.
In the published package on the npm, we pin a specific version of Watchdog which leads to problems when someone is using a different version of the editor or wants to update.
package.json
on npm:React on the other hand specifies Watchdog as a peer dependency: .
Not sure what's the best approach to solve this but it's a major issue for some integrators.