Skip to content

Commit

Permalink
It's the default now
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiask committed Dec 3, 2024
1 parent eda4b3d commit c68b964
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion django_prose_editor/static/django_prose_editor/init.js

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

5 changes: 1 addition & 4 deletions src/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,7 @@ function createEditor(textarea) {
isTypeEnabled("heading") && Heading,
isTypeEnabled("horizontal_rule") && HorizontalRule,
isTypeEnabled("em") && Italic,
isTypeEnabled("link") &&
Link.configure({
openOnClick: false,
}),
isTypeEnabled("link") && Link,
(isTypeEnabled("bullet_list") || isTypeEnabled("ordered_list")) && ListItem,
isTypeEnabled("ordered_list") && OrderedList,
isTypeEnabled("strikethrough") && Strike,
Expand Down

0 comments on commit c68b964

Please sign in to comment.