Opened 8 years ago

Closed 8 years ago

#13945 closed Bug (fixed)

getAddress of undefined or null reference in IE

Reported by: kphung Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

Hello,

I've been trying to figure out why this is happening, but I have not been able to find anything. I am getting a javascript error "getAddress of undefined or null reference" in IE only. What are possible reasons that I would be seeing this?

I have a custom plugin that will add a span element to the document body (Ex <span class='className'>my span</span>). Once the command is executed. In ckeditor this triggers a snapshot to be taken before and after the command.

The before snapshot works fine, but when the after snapshot is happening the error appears. The specific line where its happening is in the normalize function where the bmStart.Container.getAddress(normalized) is returned.

Change History (2)

comment:1 Changed 8 years ago by Jakub Ś

Status: newpending
Version: 4.5.4

We are not able to say anything without reduced and working sample code showing this problem. Please don't just attach the plugin or code but spent some time on reduced sample and make sure that it works with default CKEditor instance and shows the problem there.

comment:2 Changed 8 years ago by kphung

Resolution: fixed
Status: pendingclosed
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