Opened 4 years ago

Closed 4 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 4 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 4 years ago by kphung

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