<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.
How to replicate the issue 1. Using the attached document, TestSample1.docx, copy and paste the content into the RADEditor and choose to remove Word Format. 2. Observe the styling and the format of the pasted content in the editor. You will notice that the table will not appear properly and the font styling and size and all remove instead of converted. 1. Using the attached document, TestSample2.docx, copy and paste the content into the RADEditor and choose to remove Word Format. 2. Observe the styling and format of the pasted content in the editor. In this case, you will notice that the table is intact and font styling and size are converted to HTML format. The difference between the TestSample1.docx and TestSample2.docx is one has numbering in Heading. The numbering appears to have affected the result of pasted content from MS Words. The expected behaviour would be the same as the test result from TestSample2.
The empty new lines from RTF are imported as empty paragraphs in the editor and not rendered, i.e. <p class="TelerikNormal" style="line-height: 16px;"> </p> <p class="TelerikNormal" style="line-height: 16px;"> </p> <p class="TelerikNormal" style="line-height: 16px;"> </p> <p class="TelerikNormal" style="line-height: 16px;"> </p> <p class="TelerikNormal" style="line-height: 16px;"> </p> They should be rendered, because in other case this breaks the layout of the inserted document.
In order to replace the image we use the 'pasteHtml()' API method (http://docs.telerik.com/devtools/aspnet-ajax/controls/editor/client-side-programming/methods/pastehtml). Unfortunately, we have faced the issue in the latest version of Telerik RadEditor (2016.3.1027.45). If parent 'div' has "float:left" style settings, the 'pasteHtml()' API method inserts a new image beyond the parent 'div' element. The issue is reproducible in IE11, and it is not reproducible on in the FF and Chrome, Edge and IE10. Steps to reproduce: 1. Open the demo page http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx 2. Switch to the 'HTML' mode of the RTE and replace all existing HTML content with the following HTML snippet: *** <div style="float: left;"> <img alt="" style="margin: 0px 30px 30px 0px; width: 200px; float: left;" src="../../images/top_image.png" /> </div> *** 3. Switch to the 'Design' mode of the RTE and click once on the image; 4. Open the browser console (F12) and execute the following API code in the console: $telerik.radControls[11].pasteHtml('<img alt="" src="/aspnet-ajax/Editor/images/UserDir/Marketing/Tokyo.png" />') Actual Result: A new image is inserted beyond the parent 'div' element. *** <div style="float: left;"> </div> <img alt="" src="/aspnet-ajax/Editor/images/UserDir/Marketing/Tokyo.png" /> *** Expected result: A new image is inserted into the parent 'div' element. *** <div style="float: left;"> <img alt="" src="/aspnet-ajax/Editor/images/UserDir/Marketing/Tokyo.png" /> </div> *** Here is the screencast: http://screencast.com/t/PQOQeKsvViRK
"The size of the uploaded file exceeds max size allowed" is thrown even if the file is under the specified maximum upload file size. The error is reproducible in the Default demo -> http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx. Open the Document manager and upload some unsupported file which size does not exceed 200 kb. For example upload a small image file. You'll get the following error: The size of the uploaded file exceeds max size allowed. The extension of the uploaded file is not valid. Please, provide a valid file! while only this line should be shown: The extension of the uploaded file is not valid. Please, provide a valid file!
This issue happens only on Macs with Chrome and Safari. It is related to the IME (input method editor) that is used to enter Japanese (Hiragana) words with Latin keyboards. Such an IME is provided by Windows and the Mac operating system. Part of the process to enter Japanese text is to enter several characters, then press the space bar to get a popup list of suggestions for potential words. The space bar is then pressed again until the desired word is highlighted. Then the user will press return to select the correct word. The user then presses the next characters to build the next word. If you need more information about typing Japanese text you can find a description here: https://www.coscom.co.jp/learnjapanese801/howjpdo.html The bug with RadEditor can be demonstrated with the current RadEditor demo page. (http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx) To recreate the problem you can go to your RadEditor demo page with Chrome or Safari on a Mac. You will need to enable the Japanese IME in your operating system. This is very easy to do and you can just do a Google search for instructions if you need to. Then delete all example text. Now press the following keys on an English keyboard: s a t e l o (each 2 key combination creates a Japanese character) You will now see 3 Japanese characters. Now press the space bar. This will open the word selection list. Now press the space bar again, which should select the next words from the list. But instead of selecting the next word, the popup list is immediately closed and some different character are inserted in the content. If you then press another key the content gets completely destroyed and replaced with the key that was pressed. It does not work as expected and it is unusable that way. If you try the same key sequence with Firefox on a Mac or any browser on a PC you will see how it is supposed to work. The same problem happens if you would use the cursor down key (instead of the space bar) to select the next item in the list. The affected browsers work as expected in regular input / textarea fields. It seems to happen only with Telerik's RadEditor control. To narrow down the cause even further I created a JSFiddle demo with a simple control that has the attribute contenteditable=true set. I believe that RadEditor is based on such a control and I wanted to see if the affected browsers may have problems with this HTML feature itself. You can try the JSFiddle demo here: https://jsfiddle.net/q5Lsnjmg/3/ The result is that the affected bowsers work as expected in this demo. This seems to indicate that the Telerik editor control must do something different to trigger this problem. I also created a video that demonstrates the issue. You can see the video here: https://youtu.be/ANLbXpm5Zko
Hi, Several of my clients has requested along the years for a way to insert Descriptions just beneth/under a image in the Editor, i have had to move to CKEditor in some cases and thought i would just give it a try and post this as a feature request. A demo of this can be seen here, http://ckeditor.com/ Think what they do is insert a Div under the image object that contains a Description. Really hoping to see this in the future as i would like to keep third party plugins to a minimum. Christian
A workaround is to add the following CSS rules to the DialogsCssFile stylesheet: .reLightweightDialog.RadForm_BlackMetroTouch.redLinkManager body, .reLightweightDialog.RadForm_Bootstrap.redLinkManager body { width: 540px; height: 540px !important; } /*or use that, which will affect all skins: */ /*.reLightweightDialog.redLinkManager body { width: 540px; height: 540px !important; }*/