After the user picks a font color or background color from the Editor toolbar (foreColor / backColor), the editor keeps a stale saved range in editor._range. Later commands, including Enter (the insertParagraph tool, key: 13), call editor.exec, which selects that._range || that.getRange(), so they run at the stale position instead of the live caret.
The result will add an empty paragraph above the text instead of inbetween the text. In this example:
<p> </p> <p><span style="color:#ff00ff;">xdd</span></p>
The enter separates the text and the styling is applied as expected. For example(Progress Kendo UI Dojo)
<p><span style="color:#ff00ff;">dd</span></p> <p><span style="color:#ff00ff;">x</span></p>
When an image is placed inside an <a> tag resizing the image does not work as expected
The image can not be resized back to the original size (screencast). Its width can not be changed.
In case the image is set to float on the right after resizing its width becomes about 10px and is almost hidden - Dojo
It should be possible to resize the image by increasing/decreasing the size and keeping the width/height ratio.
When the content pasted in the Editor contains the 'MsoNormal' class the new lines are not preserved.
The text after the 'MsoNormal' class is pasted on a single line.
The new lines should be preserved.
Currently, when Chrome Translate is activated and the user presses 'Enter' key in the Editor, the text is translated.
Also, when Translate is enabled and the user types fast, some characters disappear, as Chrome rewrites the inner text of elements. I know that this can be controlled by adding a translate attribute.
However, I would like to have the option to control this by the built-in Editor configuration options (for example, translate: false).
In an Editor that has a visible scrollbar, the selection event fires if you click on the scrollbar.
The selection event triggers when you click the scrollbar
The selection event shouldn't trigger when you click the scrollbar
When the Editor is rendered in a long page with a scroller and the user paste a content replacing the entire content, the entire page scrolls, not only the Editor content.
The entire page scrolls and in some cases the Editor is not visible.
screencast - https://go.screenpal.com/watch/cOQTlxnxqVk
Pasting in the Editor should not affect the page scroller.
Hi Team,
I would like to request a way to utilize formattingMarks for the Kendo UI Inline Editor without having to set inlineHeight. The way we use the editor requires its height to grow dynamically as the user types text. We usually have around five editors displayed on the screen at the same time, so it is important for us that formattingMarks works correctly across multiple editors on a single page.
Thank you!
Hi Team,
I would like to request to add Operational Transformation or a way to update text within the editor while maintaining the current cursor position.
Thank you!
Hi Team,
I would like to request adding visual page breaks with header/footer features. Comparatively, SyncFusion has this included and it would be great to have Telerik add these features.
Thank you!
In some cases, a CSP error - Applying inline style violates the following Content Security Policy directive 'style-src 'self' .... is thrown in the Editor
CSP Error is thrown - Applying inline style violates the following Content Security Policy directive 'style-src 'self'
Expected/desired behavior
There should be no errors when using the Editor tools.
Currently, Kendo UI for jQuery components rely on innerHTML and direct DOM manipulation throughout their internal implementation. This occurs in multiple components.
Thus, when "require-trusted-types-for 'script';" is included, errors such as - `This document requires 'TrustedHTML' assignment. The action has been blocked.` and `TypeError: Failed to execute 'write' on 'Document': This document requires 'TrustedHTML'` - appears on the page.
I would like to request Trusted Types Support for Kendo UI for jQuery components.
When the content of the Kendo UI Editor contains the head, the code within it is displaying with the use of the viewHtml.
The content within the head will be displayed.
Manually remove the tags from the IFrame (Dojo).
var iframe = $('.k-iframe') // Identify the iframe by its class
var iframeContent = iframe.contents() // Access the content of the iframe
var metaElement = iframeContent.find('meta') // Traverse down the DOM tree to reach the <meta> element
metaElement.remove()// Remove all the <meta> elementsFor example when we type @ it should autocomplete a certain list of data in the editor
In the Editor's accessibility demo, you cannot initially navigate to the textarea using tab. After focusing the paragraph tool, pressing tab again will move the focus to the browser navigation bar. If you break the sequence and navigate to another tool before trying to navigate to the textarea, the issue disappears. The issue doesn't reproduce on the Keyboard Navigation demo.
The textarea will not be focused
You should be able to navigate to the textarea on the first iteration
Currently in the editor when we add a table, we get to resize them in six corner points. Can we keep the table like below and make it resizable from one corner only:
Similar item is logged for Kendo UI for Vue:
https://feedback.telerik.com/kendo-vue-ui/1649742-feature-request-formatblock-paragraph-quotation-heading-included-in-the-translations
Currently, the formatting options are not getting localized:
https://demos.telerik.com/kendo-ui/editor/localization
When underlined text is dragged and dropped in text with different formatting the underline tool is not highlighted.
The underline tool is not highlighted. screencast - https://somup.com/cZQZ14ms8m
The underline tool should be highlighted (as for example the behavior of the italic tool).
Hi Team,
While updating to 2023.1.314, I reviewed the change logs, breaking changes(Unified Rendering, Editor/Toolbar), and roadmap pages. But, there was a major change where the height of the textarea is now the total height of the editor and not the height of the editable area anymore.
Please, I would like to request there to be a clear note specific to this change in the documentation, and to help future developers who need to update their Kendo UI Editors.
Thank you!
Create events for the ImageBrowser for both standard widget and MVC Wrappers. Many times I want to style my images that are being inserted by wrapping them in some custom HTML DIV's and SPAN's. This would allow them to include code for prettyPhoto for example, contain classes that can float the image right or left, allow for margin's, etc. Including the capability of adding snippets that would wrap around the image when Insert is clicked would add a lot of value. I guess templates could be used, but the capability would need to be there. Anything to allow me to modify the way the Image HTML is inserted into my text would save me lots of time.