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

Possible bug with editor when undo underlining

3 Answers 57 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Ruban
Top achievements
Rank 1
Ruban asked on 01 Feb 2013, 05:54 PM
Hi,
I'm using IE9 in compaitablity mode. and Kendo UI Web v2012.3.1114.
When I use try undo an existing underlined word, I get the following error:
Line: 24588
Error: Unable to get value of the property '1': object is null or undefined

It seems the issue is with the following line in Kendo.web.js:

 

<FONT color="#0000ff" size="1" face="Consolas"><FONT color="#0000ff" size="1"
face="Consolas"><FONT color="#0000ff" size="1" face="Consolas">var property =
trim(match[1].toLowerCase()),<BR>      value =
trim(match[2]);<BR></FONT></FONT></FONT>

This is fixed by checking for != null first, I assume this is a bug?

 

 

 

 

 

 

 

 

property = trim(match[1].toLowerCase()),

 

value = trim(match[2]);

3 Answers, 1 is accepted

Sort by
0
Petur Subev
Telerik team
answered on 05 Feb 2013, 01:08 PM
Hello Ruban,

Does the problem appear when using the original Internet Explorer? If yes could you tell us which version exactly?

Keep in mind  we do not support  issues caused by compatibility mode changes in IE.

Kind Regards,
Petur Subev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Ruban
Top achievements
Rank 1
answered on 05 Feb 2013, 02:10 PM
Hi,
It doesn't happen on IE9(native), only when running in compaitablity mode ( I beliebe ie7).
Not sure if it happens in the original ie7 browser but presumably it does since it the bug appears in code to handle browsers less than IE8, it's worth investigating by you guys...
0
Dimo
Telerik team
answered on 08 Feb 2013, 08:27 AM
Hello Ruban,

Actually we are not able to reproduce the problem in netiher a true IE7, nor in any of the compatibility views of IE8, IE9 and IE10. What we tried was to underline something with Ctrl+U (or the toolbar button) and then undo with Ctrl+Z. Tested with both 2012.3.1114 and the current official 2012.3.1315.

Let me know if we are missing something.

Greetings,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Editor
Asked by
Ruban
Top achievements
Rank 1
Answers by
Petur Subev
Telerik team
Ruban
Top achievements
Rank 1
Dimo
Telerik team
Share this question
or