Error adding tools in kendo react editor

2 Answers 68 Views
Editor General Discussions
Reginaldo
Top achievements
Rank 1
Reginaldo asked on 17 Oct 2022, 04:37 PM

I have a big project and I use the Kendo react editor.

When the build is done within the pipeline, perhaps due to some memory limitation, an error occurs.

However, removing the editor tools completes the build.

Example Success (remove tools from Editor)

import { Editor, EditorTools } from "@progress/kendo-react-editor";

const App = () => {
  return (
    <Editor
      contentStyle={{
        height: 630,
      }}
      defaultContent={content}
    />
  );
};

 

Example Fail (with tools in Editor)

import { Editor, EditorTools } from "@progress/kendo-react-editor";
const { Bold } = EditorTools;

const App = () => {
  return (
    <Editor
      tools={[[Bold]]}
      contentStyle={{
        height: 630,
      }}
      defaultContent={content}
    />
  );
};

 

Any idea how to solve this?

2 Answers, 1 is accepted

Sort by
0
Doma
Top achievements
Rank 1
Iron
answered on 19 Oct 2022, 02:25 AM
I have the same problem in the build, it seems to be related to the editor
0
Vessy
Telerik team
answered on 19 Oct 2022, 01:26 PM

Hi, Reginaldo and Doma,

We are not aware of such error and, unfortunately, we were not able to replicate it in any of our development machines. I made a little research, though, and it seems that the reasons for this error could be very different.

Usually updating the NodeJs version seems to resolve the error, but if this does not help you can try the solutions found by the other developers facing the same issue as well. For example, you can start your research here:

I hope the provided information will be helpful for you.

Regards,
Vessy
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Editor General Discussions
Asked by
Reginaldo
Top achievements
Rank 1
Answers by
Doma
Top achievements
Rank 1
Iron
Vessy
Telerik team
Share this question
or