Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complete how to add script tag as a valid element in TinyMCE in Plone 5. #637

Merged
merged 2 commits into from
Jun 7, 2016

Conversation

sneridagh
Copy link
Member

Fixes: #

Improves: The HTML filtering documentation for Plone 5.

Changes proposed in this pull request:

  • Complete how to add script tag as a valid element in TinyMCE in Plone 5.

@@ -37,8 +37,13 @@ If you need to put a `<script>` tag on your content text in TinyMCE you can disa

tal:define="dummy python:checkPermission('Modify portal content', context) and request.RESPONSE.setHeader('X-XSS-Protection', '0');"

**Step 3:** (Plone 5 only) Add script tag to the list of `extended_valid_elements` of TinyMCE. Go to the Control Panel, TinyMCE settings, Advanced tab. Add to the Other settings field::

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we can remove '(Plone 5 only)' ? Because it will go only into the docs from 5.0 on, meaning currenltu it will go into the branches 5.0 and 5.1 of the docs.

@sneridagh
Copy link
Member Author

@svx done!

@svx
Copy link
Member

svx commented Jun 7, 2016

@sneridagh thank you !

@davilima6
Copy link
Member

Thanks!

@svx svx merged commit c712f7d into 5.0 Jun 7, 2016
svx pushed a commit that referenced this pull request Jun 7, 2016
@davilima6 davilima6 deleted the sneridagh-tinymcefiltering branch June 8, 2016 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants