Use built-in feature for defaults example instead of custom

pull/4261/head
Thibaud Colas 2018-02-02 17:09:14 +02:00 zatwierdzone przez Matt Westcott
rodzic f50c096706
commit ae4e48ed3f
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -99,7 +99,7 @@ To have a feature active by default (i.e. on ``RichTextFields`` that do not defi
@hooks.register('register_rich_text_features')
def register_blockquote_feature(features):
features.default_features.append('strikethrough')
features.default_features.append('h6')
The process for creating new features is described in the following pages: