Opened 11 years ago
Closed 11 years ago
#10910 closed Bug (fixed)
Clicking and/or typing in editing area throws a javascript error
Reported by: | Eric Belair | Owned by: | Piotrek Koszuliński |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 4.2.2 |
Component: | General | Version: | |
Keywords: | Cc: |
Description
Very basic HTML:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <title>My Page</title> <script type="text/javascript" src="http://code.jquery.com/jquery-1.7.2.min.js"></script> <script type="text/javascript" src="/assets/js/ckeditor_4.2.1_full/ckeditor.js"></script> <script type="text/javascript"> $(function(){ CKEDITOR.replace('my_text'); }); </script> </head> <body> <form method="post"> <textarea name="my_text">dfagasdf sdf<br /><br />dasf asdf</textarea> </form> </body> </html>
Frequently when clicking and/or typing into the editing area, the following javascript errors are thrown in IE9, sometimes causing the editor to stop working:
SCRIPT5007: Unable to get value of the property 'getSelection': object is null or undefined ckeditor.js, line 350 character 120
Change History (5)
comment:1 Changed 11 years ago by
Status: | new → pending |
---|
comment:2 Changed 11 years ago by
Milestone: | → CKEditor 4.2.2 |
---|---|
Status: | pending → confirmed |
Version: | 4.2.1 |
comment:3 Changed 11 years ago by
Owner: | set to Piotrek Koszuliński |
---|---|
Status: | confirmed → review |
Pushed t/10910. That block hasn't got any sense.
comment:4 Changed 11 years ago by
Status: | review → review_passed |
---|
Well... yes, *now* it doesn't make sense any more and in fact the #7433 tc is fine after the fix, so we should be ok.
comment:5 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | review_passed → closed |
Fixed with git:691247d on master.
I answered you on Stack Overflow - http://stackoverflow.com/questions/18963101/why-is-ckeditor-throwing-a-javascript-error-when-i-click-or-type-in-the-text-are
Please check if it helps.