<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>
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.
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
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
Editing the RadEditor's Tools file is rather cumbersome and error prone. Thus, please provide an XML-Schema file that can be downloaded from the Telerik website and added to the corresponding Tools XML file header, so Visual Studio and other integrated IDEs can provide IntelliSense and error checking.
The CSS styling for copied tracked text remains after the track changes are accepted is Chrome. Video: https://www.screencast.com/t/Ul565rfo Steps to reproduce: 1. Open http://demos.telerik.com/aspnet-ajax/editor/examples/trackchanges/defaultcs.aspx and clear the content in HTML mode 2. Switch to Design view and write some text 3. Copy this text and paste it into a new line 4. Click "Accept All track changes" Result: The copied row remains styled as tracked text
When using the Microsoft Edge browser with the Editor, you cannot add field values for some form elements. This seems to affect Radio buttons and checkboxes. It is possible that it affects other form elements as well. I also see this same problem when using your demo page https://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx. Edge does not offer the hasLayout capability of Internet Explorer, which selects the form element on click. In Edge you can select a form element as you could do it with a text: https://www.screencast.com/t/mo25Rm1kTSdB. The click selection is not currently supported.
Hi Team, Is there any way to set the MaxTemplateSize,MaxFlashSize,MaxMediaSize,MaxDocumentSize,MaxTemplateSizes from the web.config itself without any code change. currently my system taking the default value "200KB". please let me know is there any way, in asp.net Ajax RadEditor in Asp.net C#. We are using telerik dll version 2017.1.228.45.
If misspelled word is coming after scroll bar it is not focusing in IE11, Edge and Chrome. Can be reproduced in the default demo - https://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx Paste the following content <p>a</p> <p>a</p> <p>a</p> <p>a</p> <p>a</p> <p></p> <p></p> <p></p> <p></p> <p></p> <p></p> <p></p> <p></p> <p></p> <p></p> <p></p> <p></p> <p></p> <p></p> <p></p> <p></p> <p></p> <p>risksss</p> and click on the spell check button. The popup with the suggestions will be positioned outside of the content area. As a workaround you can switch to DIV content area mode - https://demos.telerik.com/aspnet-ajax/editor/examples/contentareamodediv/defaultcs.aspx
I know that there are articles that describe how to detect that the user has interacted with the RadEditor, but checking whether the content has changed is quite another task. I understand that the underlying storage method makes it almost impossible to compare, but that's why we need the control to do this internally. Even if we fall short of comparing the content, at least build-in the workarounds into the control to invoke a single "Changing" event.
When text in the Editor has Track Changes then :
Images in a RadEditor can be resized two ways:
1. Using the image properties dialog and keying in width/height. The aspect ratio can be locked here so that keying in width updates height accordingly, and vice versa.
2. Clicking and dragging the resize handles. This does not maintain the aspect ratio of the image, even when the aspect ratio lock option is enabled in the image properties dialog.
Request: That the image aspect ratio lock option in the image properties dialog applies when dragging the resize handles.
When inserting video in Telerik Editor, radEditor by default inserts it using <embed>.
This element is not supported by Edge. Many modern browsers now support/recommend to use of the <video> tag.
So, that it will render video in most of Chromium browsers out there.
Hello Team,
In Editor, proportional resize of image (by holding Shift and dragging) is not working unlike in Word.
Could you please suggestion for adding the same in Editor.
Thanks.