Editor options

3 posts, 0 answers
  1. Shane
    Shane avatar
    5 posts
    Member since:
    Mar 2016

    Posted 19 Sep 2018 Link to this post

    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. Shane
    Shane avatar
    5 posts
    Member since:
    Mar 2016

    Posted 19 Sep 2018 Link to this post

    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

  3. Stefan
    Admin
    Stefan avatar
    2922 posts

    Posted 20 Sep 2018 Link to this post

    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
Back to Top