Opened 6 years ago

Last modified 5 years ago

#9612 confirmed Bug

Moving the text cursor inside form elements causes js-error and breaks source-mode

Reported by: janpe Owned by:
Priority: Normal Milestone:
Component: General Version: 3.1
Keywords: Firefox Cc:

Description (last modified by Jakub Ś)

Moving the text cursor inside a submit, textarea or such by using the arrow keys causes an error shown in Firebug: "Error: Permission denied to access property 'nodeType'" in ckeditor.js on line 13.

This will also result in the Source-button not working so that you cannot enter the source-mode. The button will work again after moving the cursor out of that place.

Here's a sample source code with which you can easily reproduce the bug by moving the cursor with your arrow keys.

Also tested this on the nightly build.

<h1>Form</h1><p><input id="upload" name="upload" type="file" /><br /><input id="submitForm" name="submitForm" type="submit" value="Submit" /></p>"

I am using Win7 Pro and Firefox 16.0.2

Attachments (1)

screen.jpg (547.0 KB) - added by janpe 6 years ago.
Cursor inside the submit input and firebug showing the error

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by janpe

Attachment: screen.jpg added

Cursor inside the submit input and firebug showing the error

comment:1 Changed 6 years ago by Jakub Ś

Description: modified (diff)

comment:2 Changed 6 years ago by Jakub Ś

Keywords: Firefox added
Status: newconfirmed
Version: 3.6.53.1

Problem can be reproduced in Firefox browser only from CKEditor 3.1. It occurs also in CKE 4.x (v4).

JS ERROR:
Message: Error: Permission denied to access property 'nodeType'
Line: 25 URI: ckeditor/core/dom/node.js

NOTE: The same error is thrown in Firefox and CKEditor 4.x only for TC mentioned in this ticket: #9881

comment:3 Changed 5 years ago by Jakub Ś

#11262 was marked as duplicate.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy