Is it possible to allow the integration of the Template component in the Template() option of the CustomTemplate() configuration in the Editor's Toolbar?
For example:
@(Html.Kendo().Editor()
.Name("editor")
.Tools(tools => tools
.Clear()
.CustomTemplate(x => x.Name("customButton").Template(
Html.Kendo().Template()
.AddComponent(c => c.Button()
.Name("myButton")
.Events(ev => ev.Click("onExecute"))
)
))
)
)
Currently, the tool name is not added into the HTML structure of the created Editor's tool:
Here is a Dojo example:
https://dojo.telerik.com/AvoNOKOr
Is it possible to include the specified "name" in the button's class, so the custom tools can be selected by class name for further customization?
In Word the user can resize the first and the last column of a table. When the outer borders of a table are hovered, a resize handle appears and the user can drag it left or right, to resize the respective column.
Currently, in the Editor this is not possible. The user can resize the first column only through its right border, and the last column, only through its left border. Resize handles do not appear for the outer borders. There are handles that appear when you focus the table, but they are used to resize the whole table.
It would be nice, if the column resizing functionality Word has can be implemented in the Editor.
I want to tool inside Kendo Editor, when on click of any Image / Video it should open a inline editor in which i can perform following functions,
1. Replace
2. Change Alignment
3. Change Captions
4. Alternate Text
5. Resize
Here are the few sample links which i am refering too (you need to click on image for getting the image editor),
https://ckeditor.com/docs/ckeditor5/latest/examples/builds/classic-editor.html
It would be nice if the MVC Definition of the Editor HtmlHelper (ImageBrowser and FileBrowser) provides the Path setting as demonstrated for the Kendo UI variation:
https://docs.telerik.com/kendo-ui/api/javascript/ui/editor/configuration/imagebrowser.path
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
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:
Thanks!
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