Options
hypha.apply.utils.options
¶
MCE_ATTRIBUTES
module-attribute
¶
MCE_ATTRIBUTES = {'elementpath': False, 'branding': False, 'contextmenu': False, 'entity_encoding': 'raw', 'plugins': 'link table lists wordcount', 'toolbar': 'undo redo | blocks | bold italic | bullist numlist | table | link', 'relative_urls': False, 'browser_spellcheck': True, 'default_link_target': '_blank', 'invalid_elements': 'iframe,object,embed'}
MCE_ATTRIBUTES_SHORT
module-attribute
¶
MCE_ATTRIBUTES_SHORT = {None: MCE_ATTRIBUTES, None: {'height': 180}}
RICH_TEXT_WIDGET_SHORT
module-attribute
¶
RICH_TEXT_WIDGET_SHORT = TinyMCE(mce_attrs=MCE_ATTRIBUTES_SHORT)