DOMRect doesn't work in some browsers #7036
Labels
Framework
Issues related to broader framework topics, especially as it relates to javascript
[Priority] High
Used to indicate top priority items that need quick attention
[Type] Bug
An existing feature does not function as intended
Milestone
Describe the bug
The function/constructor
DOMRect
, used in dom.js (line 160), does not work in Chrome 56, IE 11 and Microsoft Edge, but works in FireFox and Safari.To Reproduce
Expected behavior
When clicking on an empty table cell within the Table block, and error should not occur.
Possible Solution
Since
DOMRect
works only in some browsers, a polyfill or mock DOMRect function should be created or used in place of it. TinyMCE provides it's own function to create Rectangles without issue.Screenshots
Relate Issues
#6666
The text was updated successfully, but these errors were encountered: