Skip to content

Commit 522c54c

Browse files
Merge pull request #2428 from IFRCGo/feature/tinymce-forbid-p-wrap
Forbid p-wrapping for TinyMCE (for iframes also)
2 parents 603cfc3 + e860dec commit 522c54c

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)