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

[Solved] Jquery 1.6.1 support

6 Answers 94 Views
Editor
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jim Parton
Top achievements
Rank 1
Jim Parton asked on 20 Jun 2011, 01:39 PM
Hi,
I am upgrading our website to jquery 1.6.1 and need the editor to work with 1.6.1.

The editor at the moment when used with 1.6.1 wraps the text halfway across the editor as displayed in the attachment. 


I have also attached the sample website with the issue.

6 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 20 Jun 2011, 03:57 PM
Hello Daniel,

jQuery 1.6 contains a breaking change, which affects the Editor. We have recently discovered this problem and fixed it. You can try the internal build or use this CSS rule:

.t-editor  iframe
{
         width: 100%;
}

Best wishes,
Dimo
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
Jim Parton
Top achievements
Rank 1
answered on 20 Jun 2011, 04:10 PM
That rule didnt work. This worked:
.t-editable-area  iframe
 {
          width100%;
          height:100%;
 }
0
Jim Parton
Top achievements
Rank 1
answered on 20 Jun 2011, 04:18 PM
Thanks for the the quick response.
0
Created by: X
Top achievements
Rank 1
answered on 21 Jun 2011, 10:44 AM
I too am using jquery 1.6.1 and finnally got the Editor working properly by placing a  <style> tag in the html header under the telerik css code

 @(Html.Telerik().StyleSheetRegistrar()
        .DefaultGroup(group => group.Add("telerik.common.css")
                                    .Add("telerik.windows7.css")) ) 
    <style>
        .t-editable-area  iframe
         {
            width100%;
            height:100%;
         }
    </style>
It's a bit of a hack but it works  :)
0
Prince
Top achievements
Rank 1
answered on 22 Jul 2011, 11:26 AM
Once the code has been updated to the latest version, should i remove the css rules i added from this post?
0
Dimo
Telerik team
answered on 22 Jul 2011, 12:06 PM
Yes, the CSS rule is no longer necessary.
Tags
Editor
Asked by
Jim Parton
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Jim Parton
Top achievements
Rank 1
Created by: X
Top achievements
Rank 1
Prince
Top achievements
Rank 1
Share this question
or