Closed webark closed 6 years ago
@st-h let me know if there is anything else that you would like.
I can add a method to get that codeclimate complexity down.
@st-h fixed those codeclimate complexity issues.
@webark awesome! thanks for finding and fixing.
released as 1.0.1
ie11 does not support the clipboardData on the paste event, but has a seprate window wide clipboard data that it uses.
Also, ie11 does not support the
insertText
option ofdocument.execCommand
so instead we fall back on a selection, textnode, range hack to insert that text into the element.