Created
May 24, 2012 08:52
-
-
Save vojd/2780287 to your computer and use it in GitHub Desktop.
Allow Youtube embedding in Mezzanines tinyMCE editor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Allow additional attributes to be saved without be saved through tinyMCE and Mezzanine | |
# Create a file name defaults.py inside any django app | |
# Mezzanine will then automatically pick up this file | |
from mezzanine.conf import register_setting | |
register_setting( | |
name="RICHTEXT_ALLOWED_TAGS", | |
append=True, | |
default=("iframe", "embed", "object"), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment