Hello, I am trying to use the table-related toolbar tools in my editor. I am getting the compiler.js:2175 Uncaught Error: Template parse errors:
'kendo-editor-insert-table-button' is not a known element:
1. If 'kendo-editor-insert-table-button' is an Angular component, then verify that it is part of this module.
2. If 'kendo-editor-insert-table-button' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. (" <!-- Kendo Built-In Toolbar tools not working correctly -->.
I have not had an issue with any other toolbar tools.
Hi Aidan,
The observed error suggests using an older version of the Editor package where the kendo-editor-insert-table-button component is not yet available.
The support for tables was added in the 0.8.0 version of the Editor component:
https://www.telerik.com/kendo-angular-ui/components/editor/changelog/
Please make sure that you are using the latest versions of our packages that contain all current features and fixes. It is recommended to remove the package-lock.json file and the node_modules folder before running a clean npm install to ensure that the latest versions and their correct dependencies are actually installed.
Here is a quick guide for updating all Kendo UI for Angular packages in one go:
I created a Stackblitz demo with an older Editor version (0.7.0) where the described error is observed:
https://stackblitz.com/edit/angular-upqhuy?file=app/app.component.ts
... and the same one with the latest version installed where the Editor is working as expected:
https://stackblitz.com/edit/angular-upqhuy-wcrtqa?file=app/app.component.ts
I hope this helps.
Regards,
Dimiter Topalov
Progress Telerik