Opened 9 years ago

Last modified 9 years ago

#16728 closed Bug

[QM] Editor is broken once Copy Formatting is added — at Version 2

Reported by: Marek Lewandowski Owned by:
Priority: Normal Milestone: CKEditor 4.6.2
Component: General Version: 4.6.0
Keywords: Cc:

Description (last modified by Marek Lewandowski)

  1. With IE in Quirks Mode open an editor with copy formatting, e.g. simply samples page.

Expected:

Editor gets loaded.

Actual:

An exception is thrown Object doesn't support this property or method.


The problem is caused by this line. Simply there's no underlying querySelectorAll method in QM.

It can be avoided by simply changing function to the following:

_getScreenReaderContainer: function() {
	if ( CKEDITOR.env.ie6Compat ) {
		// findOne is not supported on Quirks.
		return null;
	}

	return CKEDITOR.document.getBody().findOne( '.cke_copyformatting_notification div[aria-live]' );
}

Change History (2)

comment:1 Changed 9 years ago by Marek Lewandowski

Status: newconfirmed

comment:2 Changed 9 years ago by Marek Lewandowski

Description: modified (diff)
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