Skip to content
Snippets Groups Projects
Unverified Commit 81f493fc authored by Fredrik Jonsson's avatar Fredrik Jonsson Committed by GitHub
Browse files

Merge pull request #2508 from HyphaApp/bug/richtext-2

Use Invalid elements attribute of tinymce to validate input
parents 183aab84 b8feb99c
No related branches found
Tags v1.65.1
No related merge requests found
...@@ -21,6 +21,7 @@ MCE_ATTRIBUTES = { ...@@ -21,6 +21,7 @@ MCE_ATTRIBUTES = {
'relative_urls': False, 'relative_urls': False,
'browser_spellcheck': True, 'browser_spellcheck': True,
'default_link_target': '_blank', 'default_link_target': '_blank',
'invalid_elements': 'iframe,object,embed'
} }
MCE_ATTRIBUTES_SHORT = {**MCE_ATTRIBUTES, **{'height': 180}} MCE_ATTRIBUTES_SHORT = {**MCE_ATTRIBUTES, **{'height': 180}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment