Skip to content

Commit

Permalink
Merge pull request #2428 from IFRCGo/feature/tinymce-forbid-p-wrap
Browse files Browse the repository at this point in the history
Forbid p-wrapping for TinyMCE (for iframes also)
  • Loading branch information
szabozoltan69 authored Feb 26, 2025
2 parents 603cfc3 + e860dec commit 522c54c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,9 +406,9 @@ def parse_domain(*env_keys: str) -> str:
| link visualchars charmap image hr nonbreaking | code preview fullscreen
""",
"paste_data_images": False,
"force_p_newlines": True, # TODO: could be False?
"force_br_newlines": True, # TODO: could be False?
"forced_root_block": "",
"force_p_newlines": False,
"force_br_newlines": True,
"forced_root_block": "-",
"contextmenu": "formats | link",
"menubar": False,
"statusbar": False,
Expand Down

0 comments on commit 522c54c

Please sign in to comment.