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 -

Python Tornado package error when running server -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -