really add h5, h6 and blockquote as features in rich text editor

This commit is contained in:
2024-05-12 22:44:47 +02:00
parent 3c54231f27
commit e9a2acd9e7

View 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"])