Don't allow H1 tags to be used
These should be for the page title only
This commit is contained in:
parent
bb8ef22bfd
commit
66ccd52b15
3 changed files with 2882 additions and 1 deletions
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -13,7 +13,6 @@ from website.common.utils import HEADER_TAGS
|
||||||
from website.contrib.code_block.blocks import CodeBlock
|
from website.contrib.code_block.blocks import CodeBlock
|
||||||
|
|
||||||
RICH_TEXT_FEATURES = [
|
RICH_TEXT_FEATURES = [
|
||||||
"h1",
|
|
||||||
"h2",
|
"h2",
|
||||||
"h3",
|
"h3",
|
||||||
"h4",
|
"h4",
|
||||||
|
|
Loading…
Reference in a new issue