really add h5, h6 and blockquote as features in rich text editor
This commit is contained in:
6
dnscms/dnscms/wagtail_hooks.py
Normal file
6
dnscms/dnscms/wagtail_hooks.py
Normal file
@ -0,0 +1,6 @@
|
||||
from wagtail import hooks
|
||||
|
||||
|
||||
@hooks.register("register_rich_text_features")
|
||||
def enable_additional_rich_text_features(features):
|
||||
features.default_features.extend(["h5", "h6", "blockquote"])
|
Reference in New Issue
Block a user