Skip to content

Commit 13f6e78

Browse files
authored
chore: add javascript link filtering to demo
1 parent 36dd9b4 commit 13f6e78

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

public/tests/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ <h1>Draft.js filters – Manual copy/paste tests</h1>
5151
<a href="/absolute">absolute link</a>,
5252
<a href="relative">relative link</a>,
5353
<a href="https://www.example.com/">full URL</a>,
54-
<a href="mailto:test@example.com">mailto</a>
54+
<a href="mailto:test@example.com">mailto</a>,
55+
<a href="javascript:alert('Hello, world!')">javascript</a>
5556
</p>
5657
<p>Image:</p>
5758
<img src="../word-toolbars-overload.jpg" />

0 commit comments

Comments
 (0)