Communication between Style Builder and Table Wizard does not work.
Having a font/span tag with applied inline font-size style cannot be formatted by FontSize tool.
This is a possible workaround that removes font-size inline style when size attribute is to be added:
<telerik:RadEditor runat="server" ID="RadEditor1" OnClientCommandExecuting="OnClientCommandExecuting">
<Tools>
<telerik:EditorToolGroup>
<telerik:EditorTool Name="FontSize" />
</telerik:EditorToolGroup>
</Tools>
<Content>
<p><span style="font-size:15px;">text</span></p>
</Content>
</telerik:RadEditor>
<script>
function OnClientCommandExecuting(editor, args) {
var command = args.get_commandName();
if (command === "FontSize") {
$telerik.$(editor.getSelectedElement()).css("font-size", "");
}
}
</script>
Having multiple paragraphs that are formatted with color and font-size as inline styles, selecting them and applied font-size by using RealFontSize tool causes these issues: 1. Only first paragraph is properly decorated; 2. Second paragraph is stripped from any inline styles at all; 3. The next paragraphs stay without any changes applied. Possible workaround is to disable the ConvertFontToSpan filter: RadEditor1.DisableFilter(EditorFilters.ConvertFontToSpan);
http://localdemos.telerik.com/aspnet-ajax-fixes/editor/examples/trackchanges/defaultcs.aspx
Paste some content in the Editor
Expected: The pasted content is displayed and tracked
Actual: Nothing is pasted
Workaround:
<telerik:RadEditor ID="RadEditor1" runat="server" EnableTrackChanges="true">
<Content>
<p>test</p>
<p>test</p>
</Content>
</telerik:RadEditor>
<script type="text/javascript">
if (Telerik.Web.Browser.edge) {
var editorPrototype = Telerik.Web.UI.RadEditor.prototype;
var origKeydownHandler = editorPrototype._onKeyDown;
editorPrototype._onKeyDown = function (ev) {
var shortCut = this.get_shortCutManager().isShortCutHit(ev);
if (!shortCut || shortCut.get_name() != "Paste") {
origKeydownHandler.call(this, ev);
}
}
}
</script>
Having some text and input inside: Highlight it in order to copy and paste leads and the content area will scroll to the top of the content area. Also, you cannot highlight the input in order to copy and paste it.
The formatting of nested lists is lost when pasting from Word in IE10. The issue is reproducible also in IE8 and I9.
When using Table Wizard to insert a new table inside a table cell, the selected table is replaced by the one created from Table Wizard. Currently, the workaround is to use the plain InsertTable tool in order to nest tables.
<telerik:RadEditor ID="RadEditor3" runat="server" EditModes="Design" OnClientLoad="OnClientLoad" RenderMode="Lightweight">
<Modules>
<telerik:EditorModule Name="RadEditorStatistics" Visible="true" Enabled="true"/>
</Modules>
</telerik:RadEditor>
The following code snippet can be used for modifying the inserted table by the dialog until this is implemented:
<telerik:RadEditor ID="RadEditor1" runat="server">
</telerik:RadEditor>
<script type="text/javascript">
var commandList = Telerik.Web.UI.Editor.CommandList;
var replaceTable = commandList._replaceTable;
commandList._replaceTable = function (table, editor, args) {
var insertedTable = args.tableToModify; //The new table created by TableWizard dialog which will be inserted
//Here the inserted table could be modified
insertedTable.style.backgroundColor = "red";
var oldTable = table; // The table which will be replaced if exists
replaceTable.call(this, table, editor, args);
};
</script>
Hi Telerik Team, There is one recent problem we faced when copy paste of email address doesn't get open in outlook as HREF property is not set in Edge Browser. The functionality working fine in IE 11. We are using version telerik version ASP.NET AJAX Q2 2016. Attached is the screenshot of html.
Hi Telerik Team,
There is one recent problem we faced when copy paste from word document to Rad Editor. The spacing between the paragraphs is more than what exists in the word document.
The property we are using while copy paste from document to RadEditor
radTextEditor.StripFormattingOptions = Telerik.Web.UI.EditorStripFormattingOptions.MSWordNoMargins | Telerik.Web.UI.EditorStripFormattingOptions.ConvertWordLists;
The functionality working fine in IE 11.
We are using version telerik version ASP.NET AJAX Q2 2016.
Also there is a default font of Times New Roman in Edge browser which not in IE 11
Attached is the screenshot of html.
Please look into this.
Hi Telerik Team, There is one recent problem we faced when using RadEditor. The bottom line is distorted. We are using version telerik version ASP.NET AJAX Q2 2016. Attached is the screenshot of html.
Finding is stuck to the last possible occurrence and cannot proceed to the next match.
When copying text using the keyboard, the content is not copied. Instead is is marked as deleted and the selection is moved to the end of the selection.
Current workaround is provided in the archive below. It consists of a function override that prevents the attribute loss. Below the workaround is the repro sample that invokes the validation.
Changing the background color for the second/subsequent paragraph causes background color for first/previous paragraph to be lost/changed. This is a browser-specific bug.
Reproduction steps:
Navigate Internet Explorer/Edge browser to: Telerik RadEditor Demo Page
Select-all and delete.
With cursor at the beginning, select a background color from the toolbar.
Type some text.
Hit the Enter key to start a second paragraph
Select the "no-fill" background color from the toolbar.
Results:
-The background color for the first/previous paragraph is removed.
Right now if copy multiple table rows and paste them into an existing table they create a new table in that table. We would like the ability to copy rows from a table and paste them into the same table or a new table with the same number of columns and have the new rows pasted without the creation of a nested table.
Steps to reproduce: 1. Write a couple of words: one two three 2. Select the second word two without the spaces around it and delete it 3. You'll see a single space between one and three in Design mode, while they are actually two in HTML mode.