Skip to content

Commit e860dec

Browse files
committed
Forbid p-wrapping for TinyMCE (for iframes also)
1 parent 603cfc3 commit e860dec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

main/settings.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -406,9 +406,9 @@ def parse_domain(*env_keys: str) -> str:
406406
| link visualchars charmap image hr nonbreaking | code preview fullscreen
407407
""",
408408
"paste_data_images": False,
409-
"force_p_newlines": True, # TODO: could be False?
410-
"force_br_newlines": True, # TODO: could be False?
411-
"forced_root_block": "",
409+
"force_p_newlines": False,
410+
"force_br_newlines": True,
411+
"forced_root_block": "-",
412412
"contextmenu": "formats | link",
413413
"menubar": False,
414414
"statusbar": False,

0 commit comments

Comments
 (0)