Another post appears as "Provide ability to paste/insert images from clipboard/local drive directly into RadEditor" and talks about similar but to date a facility does not exis as I envisage. When I work with for example a web mail facility like Yahoo Mail I am using an editor like RadEditor to create my email. When I say I want to attach a file this editor assumes that the file will come from my local drive (rather than a Yahoo server). This is what I would like to see as an option for Radeditor image handling - something like a button that says "upload". Clicking on it takes you to a dialogue to simply upload from local into the document. I appreciate that uploading from local can be done with existing Radeditor Image manager but this also offers access to server space that in the case of e.g. web mail is irrelevant and confusing. In an ideal world I would also like the uploaded document to be automatically associated with the document (email) that it has been loaded into although that can of course be handled manually.
Add a property for setting the default mode of RadEditor (Design, HTML, Previw). Currently this could be obtained using the approach in the following help article: http://www.telerik.com/help/aspnet-ajax/editor-set-mode.html
When RadEditor's ContentAreaMode is Div the entire page is printed instead of just the content. Possible solution is changing the mode to Iframe as it is by default.
RadEditor produces invalid HTML when nesting lists in IE11 and IE10. The validation error is: UL element cannot be nested within element UL Setting invalid content into RadEditor leads to unexpected behavior such as content getting lost in certain situations.
You will see that the text-indent inline styles are stripped down and the indentation is missing.
Using the desktop MS Word, pasting is fine. Using the Online version, the HTML gets messed up with plenty of unneeded DOM attributes and additional elements. It would be best if pasting provides a cleaner HTML as it is when pasting form the desktop MS Word.
A possible workaround is to set the import step after all other rules in the CssFile of the RadEditor. CssFile would look like: .h1 { background-color: Aqua; } .div { color: Green; } @import url(StyleSheet.css);
Currently, this command switches from Design to HTML mode and vise versa when EditType="Inline". In Normal editing mode this tool is disabled in the HTML mode and cannot be used, although it is useful and provides yet another layout option for the default look of the RadEditor. You can test the additional layout option by running this example: <telerik:RadEditor runat="server" ID="RadEditor1" EditModes="Design" OnClientModeChange="OnClientModeChange"> <Tools> <telerik:EditorToolGroup> <telerik:EditorTool Name="Bold" /> <telerik:EditorTool Name="ToggleEditMode" /> </telerik:EditorToolGroup> </Tools> </telerik:RadEditor> <script type="text/javascript"> function OnClientModeChange(sender, args) { setTimeout(function () { sender.get_toolAdapter().getToolByName("ToggleEditMode").set_enabled(true); },0) } </script> This tool can be redesigned to be available in the HTML mode in all cases not only when Inline editing mode is enabled.
Hi Team,
Does Track Changes work if Multiple Users work Simultaneously on Editor and
Is it possible to view all Users Name and Date Time in different pane, after enabling Track Changes.
Using sitefinity we get a lot of admins getting "Enter happy" and generating obnoxious amounts of <p> tags or empty divs, or something... I'd love a filter such that when they save it'd go through and clean up (remove) the empty crap content. <p>some text</p> <-- FINE <p></p> <-- GONE <p><br/></p> <-- GONE <p>Final bit of text</p> <-- FINE ...etc
setSize() is not applying dimensions properly to the content area. RadEditor is resized correctly but the content area isn't. Once resize RadEditor manually through its resize handle, the content area becomes resized properly.
When hyperlinks are inserted into the content of RadEditor in preview mode there are additional attributes , which are retrieved by the get_html() method. If the MaxHtmlLength is set and the content is close to the limit on switching to preview mode breaks the normal behavior of the editor. The validator alerts that the length is exceeded, because of the additional attributes and the client is not able to open any other mode.
RadEditor uses a RadWindow for its dialogs so when the global rendering of RadCocntrols on the page is set to Lightweight the dialogs need to be consistent. There could be implemented a property to control the RenderMode of the dialogs themselves.
Ability for the RadEditor's validator dialog to validate HTML 5 markup inside it's content
This problem causes the handles of the widget to be rendered at an incorrect position. The resizable widget should dispose or repaint itself, when the image is being dragged around the content. Possible workaround is to reselect the element on the dragend event of the editor's content. You can follow this example setup: <telerik:RadEditor runat="server" ID="RadEditor1" OnClientLoad="OnClientLoad"> </telerik:RadEditor> <script type="text/javascript"> function OnClientLoad(editor, args) { editor.attachEventHandler("ondragend", function (e) { var selElm = editor.getSelectedElement(); if (selElm && selElm.tagName && selElm.tagName === "IMG") { editor.selectElement(selElm); } }); } </script>
Hi,
when using the StripCssExpressions Content Filter, it's working as expected in most cases, but when there's a linebreak inside of the style it breaks.
For example, the content filters used in a RadEditor control would be:<telerik:RadEditor ContentFilters="RemoveScripts,StripCssExpressions,StripDomEventAttributes" />
<span style="width: expression((document.body.offsetWidth / 4 + 30) + 'px'); background-color: green;">text in a span</span>
<span style="width:
expression((document.body.offsetWidth / 4 + 30) + 'px'); background-color: green;">text in a span</span>
The usage for the content filter is to prevent XSS attacks, and in our solution used besides several other means to avoid malicious code execution.
As expected, the filter not working is a security risk.
Does anyone have a good workaround available? (or is there a timeline on an official bugfix?)