We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3dab69e commit e78643aCopy full SHA for e78643a
1 file changed
src/paste-markdown-html.ts
@@ -76,7 +76,7 @@ function trimAfter(text: string, search = ''): {part: string; index: number} {
76
}
77
78
function hasHTML(transfer: DataTransfer): boolean {
79
- return Array.from(transfer.types).includes('text/html')
+ return transfer.types.includes('text/html')
80
81
82
function linkify(element: HTMLAnchorElement): string {
0 commit comments