Declined
Last Updated: 30 Oct 2019 10:07 by ADMIN
Aidan
Created on: 23 Oct 2019 18:55
Category: Kendo UI for Angular
Type: Bug Report
0
"'Kendo-editor-insert-table-button' is not a known element" error when trying to use table-related toolbar tools for the Kendo editor.

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.

1 comment
ADMIN
Dimiter Topalov
Posted on: 29 Oct 2019 11:16

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:

https://www.telerik.com/kendo-angular-ui/components/installation/up-to-date/#toc-updating-to-latest-versions

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

Get quickly onboarded and successful with your Telerik and Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.