Skip to content

Commit c68b964

Browse files
committed
It's the default now
1 parent eda4b3d commit c68b964

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

django_prose_editor/static/django_prose_editor/init.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/init.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,7 @@ function createEditor(textarea) {
5555
isTypeEnabled("heading") && Heading,
5656
isTypeEnabled("horizontal_rule") && HorizontalRule,
5757
isTypeEnabled("em") && Italic,
58-
isTypeEnabled("link") &&
59-
Link.configure({
60-
openOnClick: false,
61-
}),
58+
isTypeEnabled("link") && Link,
6259
(isTypeEnabled("bullet_list") || isTypeEnabled("ordered_list")) && ListItem,
6360
isTypeEnabled("ordered_list") && OrderedList,
6461
isTypeEnabled("strikethrough") && Strike,

0 commit comments

Comments
 (0)