javascript - clipboardData paste html format mobile web in iOS -


clipboarddata in javascript, used getdata('text/html').

const clipboarddata = e.clipboarddata || window.clipboarddata;     const pasteddata = clipboarddata.getdata('text/html') || clipboarddata.getdata('text'); 

this source activates in pc/aos platform. not working on ios.

when pasting clipboarddata, want load html specification on ios show this.

enter image description here enter image description here

first picture: mobile web safari load format in ios second picture: pc web chrome load format

i try mobile chrome, safari, , on.. same too.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -