Opened 2 years ago

Closed 2 years ago

#16763 closed Bug (expired)

TypeError: e is null

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

Description

I have 'moving widget' in my ckeditor, it can move containers among ckeditor editable areas. If I will continuously move/add/delete them. at some point ckeditor will break. throwing error like above

TypeError: e is null


for below line and some other places:

e = e.type != CKEDITOR.NODE_ELEMENT || 0 === g || g == e.getChildCount() ? 0 : (e.getChild(g - 1) !== null) ? e.getChild(g - 1).type == CKEDITOR.NODE_TEXT && e.getChild(g).type == CKEDITOR.NODE_TEXT : 0;


I can't figure why it is throwing such errors. Please help me. Thanks in advance.

Change History (3)

comment:1 Changed 2 years ago by sweta

Version: 4.6.1

comment:2 Changed 2 years ago by Jakub Ś

Status: newpending
Version: 4.6.1

Please also tell me if this is happening with your custom widgets or CKEditor widgets like image2? If this is happening with custom plugins only, there is a pretty good chance the problem is with your widget.

If widget is very very basic or this is happening with our widgets e.g. image2, please provide reduced test case file or a link to reduced sample application (no server-side is needed) which I could put on my server, execute your steps and see the error.

comment:3 Changed 2 years ago by Marek Lewandowski

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