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 Piotrek Koszuliński

Status: newpending

comment:2 Changed 11 years ago by Piotrek Koszuliński

Milestone: CKEditor 4.2.2
Status: pendingconfirmed
Version: 4.2.1

comment:3 Changed 11 years ago by Piotrek Koszuliński

Owner: set to Piotrek Koszuliński
Status: confirmedreview

Pushed t/10910. That block hasn't got any sense.

comment:4 Changed 11 years ago by Frederico Caldeira Knabben

Status: reviewreview_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 Piotrek Koszuliński

Resolution: fixed
Status: review_passedclosed

Fixed with git:691247d on master.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy