Unplanned
Last Updated: 13 Apr 2020 09:12 by ADMIN
Created by: Philippe
Comments: 1
Category: Editor
Type: Feature Request
1

Hello there,

 

I'm trying to use both snippets (to make a shortcode for our users to add templated Links) and pasteCleanup option (to prevent any style to be import from a copy paste) but it seems like the pasteCleanUp option is preventing my html tags from snippets to be added.

 

Here my code :


@(Html.Kendo().Editor()
      .Name(ViewData.TemplateInfo.HtmlFieldPrefix)
      .HtmlAttributes(new { style = ViewData["style"], @class = ViewData["class"] })
      .Resizable(resizable => resizable.Content(true).Toolbar(true))
      .Value(@Model)
      .Encode(false)
      .PasteCleanup(paste => paste.All(true))
      .Tools(tools => tools
                .Clear()
                .Bold().Italic().Underline().Strikethrough()
                .JustifyLeft().JustifyCenter().JustifyRight().JustifyFull()
                .CreateLink().Unlink()
                .TableEditing()
                .Snippets(snippets =>
                    {
                    snippets.Add("Test", " <a class='testclass' href='www.test.com'>TestLink</a> ");
                })
                .FontColor().BackColor()
                .CleanFormatting()
                .ViewHtml()
                )

If I don't remove the line

.PasteCleanup(paste => paste.All(true))

All I can get from my snippet is "TestLink" instead of "

 

<a class='testclass' href='www.test.com'>TestLink</a>

 

But maybe i'm doing this wrong ?

 

Thx a lot.

 

Cordialy

Unplanned
Last Updated: 27 Feb 2020 12:47 by ADMIN
Created by: Joe
Comments: 1
Category: Editor
Type: Feature Request
1

I recently added the editor's table insert/edit feature to a project. My customer immediately showed frustration that you can only apply styles and classes to the entire table or one cell at a time. 

It would be great if we could:

  • Select more than one cell, then apply style and classes.
  • Select one or more rows, then apply style and classes.
  • Select one or more columns, then apply style and classes.

Thanks!

Unplanned
Last Updated: 05 Aug 2019 08:08 by ADMIN
This way a read-only Editor could be initialized.
Unplanned
Last Updated: 21 Mar 2019 15:26 by ADMIN
Created by: Craig
Comments: 1
Category: Editor
Type: Feature Request
0

We are using the Kendo Editor control and need to take actions based on the onChange event firing.  We have found that some formatting changes, such as changing the column width in a table doesn't trigger the onChange event.

Is there a work around for this issue.  It can be reproduced using your editor event demo here