This is a migrated thread and some comments may be shown as answers.

AutoResizeHeight doesn't work with paste via Ctrl+V

3 Answers 46 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Ron
Top achievements
Rank 1
Ron asked on 09 Aug 2010, 07:51 AM
Hello!
I have an Editor on my page with AutoResizeHeight property set to true. The Edior pretty resizes his height when I type text and use Paste commands from toolbar and context menu, but does nothing when I paste text using Ctrl+V keys combination. 
The definition of my Editor looks like this:
 <telerik:RadEditor ID="fld_editor_DOCTEXT" runat="server" ContentFilters="RemoveScripts, MakeUrlsAbsolute, FixUlBoldItalic, IECleanAnchors"
                    EditModes="Design" Height="115px" Skin="Windows7" Width="750px" OnClientLoad="OnRadEditorLoad"
                    AutoResizeHeight="true" OnClientCommandExecuted="OnDocTextCommandExecuted" StripFormattingOptions="NoneSupressCleanMessage"
                    OnClientPasteHtml="OnHTMLPasted">
.........................................................

I use 2010.1.519.35 version of Telerik.Web.UI.dll
Please, help me with this issue.

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 10 Aug 2010, 04:48 PM
Hello Vakhtang,

I tried to reproduce the problem in the AutoResizeHeight live demo but without success. You can see my test at http://screencast.com/t/ZDE0YTFiNjQ? Are you able to reproduce the issue in this demo?

My suggestion is to delete one by one just for test the ContentFilters, OnClientLoad, OnClientCommandExecuted, StripFormattingOptions and OnClientPasteHtml properties and see whether the problem will disappear.


Best wishes,
Rumen
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Ron
Top achievements
Rank 1
answered on 11 Aug 2010, 07:53 AM
Hello, Rumen, 
thanks for your advise! 
I found the property, that caused the problem. This is the StripFormattingOptions="NoneSupressCleanMessage". I inserted this property as you adviced us in case 2285: http://www.telerik.com/community/forums/aspnet-ajax/editor/radeditor-limit-characters-entered-issue-with-right-click-paste-command.aspx 
As I understood, this was a temporary solution. When we can expect the constant one?
0
Rumen
Telerik team
answered on 13 Aug 2010, 04:57 PM
Hi Vakhtang,

I tried to reproduce the reported problem using the latest version 2010.2.713 of RadEditor, but without success. You can see my test at: http://screencast.com/t/N2RlMjY0N.  For your convenience I have also attached my test project. Am I missing something?

Kind regards,
Rumen
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Editor
Asked by
Ron
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Ron
Top achievements
Rank 1
Share this question
or