ckeditor / ckeditor4-angular

Official CKEditor 4 Angular component.
Other
55 stars 32 forks source link

Fix paste and afterPaste tests on IE11 #115

Closed hub33k closed 4 years ago

hub33k commented 4 years ago

Fixes paste and afterPaste tests on IE11 by not setting clipboard data.

Closes #104

f1ames commented 4 years ago

Just a quick comment here, you can see paste/afterPaste tests still fails on IE11 on CI (haven't checked locally TBH):

image

When it comes to afterPaste tests it's probably related to a fact that this event is only fired if content editor content was modified upon paste (so we need to set content clipboard which I initially thought is not needed here, see how it can be done e.g. here).

When it comes to paste event it happens only for non-iframe editors (inline and divarea), but I'm not really sure what's the cause here :thinking:

hub33k commented 4 years ago

@f1ames it seems that now it works fine (other tests are causing errors on CI)

f1ames commented 4 years ago

Rebased onto latest master.