JQuery Editor Tools on Instantiation with TypeScript

2 posts, 0 answers
  1. David
    David avatar
    2 posts
    Member since:
    Feb 2018

    Posted 25 Jun 2018 Link to this post

    I seem to be having an issue with the JQuery Editor and customizing the tools.  If I just call $("#element").kendoEditor(); everything loads with the standard toolbar.  However when I try to set it up with tools options like so: $("#element").kendoEditor({tools:["bold", "italic", "underline","createLink", "unlink"]});  I get the following error in the image.  Any ideas?


  2. Ianko
    Ianko avatar
    1864 posts

    Posted 27 Jun 2018 Link to this post

    Hi David,

    The tools is defined as an array of EditorTools and thus you will need to define a more specific signature for the tools using TypeScript: 

      tools: [
        { name: "bold" },
        { name: "italic" },
        { name: "underline" },
        { name: "createLink" },
        { name: "unlink" }

    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top