You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When pasting into trix running in MS Edge (14 or 15), we get: TypeError: Object doesn't support property or method 'some'
This seems to be because code introduced in 95db10b (release 0.10.2) assumes paste.types is an Array like MDN says, whereas Edge says it's "a list of strings" like MSDN says -- note Microsoft's careful avoidance of the use of the word Array.
This is probably an Edge specs-compliance bug, but can Trix avoid using .some on paste.types? It's unfortunate that working around one browser bug (in Safari) exposes another one (in Edge).
Note also that Edge does support Array.prototype.some; the problem here is the object is not in fact a real Array.
Steps to Reproduce
Use MS Edge
Launch a page using Trix newer than 0.10.2
paste
Details
Trix version: 0.10.2
Browser name and version: Edge 14 or 15
Operating system: Windows 10
The text was updated successfully, but these errors were encountered:
When pasting into trix running in MS Edge (14 or 15), we get:
TypeError: Object doesn't support property or method 'some'
This seems to be because code introduced in 95db10b (release 0.10.2) assumes paste.types is an Array like MDN says, whereas Edge says it's "a list of strings" like MSDN says -- note Microsoft's careful avoidance of the use of the word Array.
This is probably an Edge specs-compliance bug, but can Trix avoid using .some on paste.types? It's unfortunate that working around one browser bug (in Safari) exposes another one (in Edge).
Note also that Edge does support Array.prototype.some; the problem here is the object is not in fact a real Array.
Steps to Reproduce
Details
The text was updated successfully, but these errors were encountered: