0

We will use below kendo code to add custom button, this custom button will use to upload document to one drive location::

<Editor
           tools={[
                [Bold, Italic, Underline, Strikethrough]
            ]}
            contentStyle={{ height: 300 }}
            onMount={this.state.onBlur}
            defaultContent={this.state.value}
How can I add custom button in the kendo's editor of SPFx react project?

1 Answer 1

0

Hello RajeshSharepointGeek,

Please check below example:

Step 1: Install NPM Package

npm install --save @progress/kendo-react-buttons

Step 2: Import CSS and Button in tsx file

enter image description here

Step 3: Add button in Render method like this:

enter image description here

Output:

enter image description here

You can refer below link for more details:
https://www.telerik.com/kendo-react-ui/components/buttons/

Regards,
Chandani Prajapati

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.