This is a migrated thread and some comments may be shown as answers.

Editor options

2 Answers 60 Views
Wrappers for React
This is a migrated thread and some comments may be shown as answers.
Shane
Top achievements
Rank 2
Iron
Iron
Iron
Shane asked on 19 Sep 2018, 06:03 PM

I just upgraded to use the react editor wrapper. The editor is showing up but not all options are available. These are the options I am passing, but it looks like it is just showing the default options. Any ideas?

options: {
tools: [
'bold',
'italic',
'underline',
'strikethrough',
{
name: 'foreColor',
palette: [
'24282D',
'F4F4F4',
'FFD200',
'F04C3E',
'00B050',
'363A3F',
'74777D',
'E4E5E7',
'F2C700',
'EB2D1E',
'FFFFFF',
'237932',
'33373b',
'676A6F',
'D9DADB',
'E5BD00',
'D71E0F',
'21852E',
'0070C0',
'44494F',
'81858B'
]
},
{
name: 'backColor',
palette: [
'24282D',
'F4F4F4',
'FFD200',
'F04C3E',
'00B050',
'363A3F',
'74777D',
'E4E5E7',
'F2C700',
'EB2D1E',
'FFFFFF',
'237932',
'33373b',
'676A6F',
'D9DADB',
'E5BD00',
'D71E0F',
'21852E',
'0070C0',
'44494F',
'81858B'
]
},
'formatting',
'fontSize',
'subscript',
'superscript',
'justifyLeft',
'justifyCenter',
'justifyRight',
'justifyFull',
'insertUnorderedList',
'insertOrderedList',
'indent',
'outdent',
'createLink',
'createTable',
'addColumnLeft',
'addColumnRight',
'addRowAbove',
'addRowBelow',
'deleteRow',
'deleteColumn',
'cleanFormatting',
'print'
],
pasteCleanup: {
all: false,
css: false,
keepNewLines: false,
msAllFormatting: true,
msConvertLists: true,
msTags: true,
none: false,
span: false
}
}

2 Answers, 1 is accepted

Sort by
0
Shane
Top achievements
Rank 2
Iron
Iron
Iron
answered on 19 Sep 2018, 06:13 PM

My bad. Like usual I don't bother testing before posting here. I just hadn't set the tools in the editor. Works great now. 

Thanks

0
Stefan
Telerik team
answered on 20 Sep 2018, 10:07 AM
Hello, Shane,

I'm glad to hear that the issue is resolved.

I will post the link to the tools options, so if anybody else is interested can find it here:

https://docs.telerik.com/kendo-ui/api/javascript/ui/editor/configuration/tools

Regards,
Stefan
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Wrappers for React
Asked by
Shane
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Shane
Top achievements
Rank 2
Iron
Iron
Iron
Stefan
Telerik team
Share this question
or