Make CKEditor 4 works in strict mode #5049
Labels
core
The issue is caused by the editor core code.
regression
This issue is a regression.
status:confirmed
An issue confirmed by the development team.
type:bug
A bug.
Milestone
Type of report
Bug
Provide detailed reproduction steps (if any)
"use strict";
at the beginning of the compiled ckeditor.jsExpected result
It should work
Actual result
An exception is thrown:
Other details
The error is in the getClientRects function of the range.js source, where
this
is undefined in strict mode:There is probably other bugs to fix in strict mode
The text was updated successfully, but these errors were encountered: