Skip to content

Commit

Permalink
Bump anchorme to 2.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
markcellus committed May 31, 2021
1 parent e1ca404 commit b0d61e8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,6 @@
"typescript": "^4.2.2"
},
"dependencies": {
"anchorme": "^1.1.2"
"anchorme": "^2.1.2"
}
}
9 changes: 7 additions & 2 deletions src/content-editable.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
import anchorme from 'anchorme';
import { URLObj } from 'anchorme/dist-node/util';
import 'anchorme/dist/browser/anchorme';

declare global {
interface Window {
anchorme: any;
}
}

const SUPPORTED_EVENTS = ['focusin', 'focusout', 'keyup'];

Expand Down

0 comments on commit b0d61e8

Please sign in to comment.