Skip to content

Commit 03d615e

Browse files
committed
Enable the history plugin
1 parent ac18120 commit 03d615e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
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: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ function createEditor(textarea) {
1212
Paragraph,
1313
HardBreak,
1414
Text,
15+
History,
1516
Blockquote,
1617
Bold,
1718
BulletList,
@@ -43,6 +44,7 @@ function createEditor(textarea) {
4344
Paragraph,
4445
HardBreak,
4546
Text,
47+
config.history && History,
4648
Menu.configure({ menuItems: menuItemsFromConfig(config) }),
4749
NoSpellCheck,
4850
config.typographic && Typographic,

0 commit comments

Comments
 (0)