Permalink
Browse files

Initialize TinyMCE with "media_strict: false" to allow embed tags if

they are removed from the list of nasty tags.
Fixeѕ https://dev.plone.org/ticket/10681
  • Loading branch information...
1 parent 15df325 commit 2daf5963d9d8dab25afc3b09661111f899494d07 @rochecompaan rochecompaan committed Dec 16, 2011
Showing with 8 additions and 2 deletions.
  1. +4 −1 CHANGES.txt
  2. +4 −1 Products/TinyMCE/skins/tinymce/tiny_mce_init.js
View
@@ -5,7 +5,10 @@ HISTORY
1.2.10 (unreleased)
-------------------
-- Nothing changed yet.
+- Initialize TinyMCE with "media_strict: false" to allow embed tags if
+ they are removed from the list of nasty tags.
+ Fixeѕ https://dev.plone.org/ticket/10681
+ [rochecompaan]
1.2.9 (2011-11-24)
@@ -87,7 +87,10 @@ function TinyMCEConfig(id) {
allow_captioned_images : this.getAllowCaptionedImages(),
rooted : this.getRooted(),
force_span_wrappers : true,
- fix_list_elements : false
+ fix_list_elements : false,
+ // allow embed tag if user removes it from
+ // list of nasty tags - see #10681
+ media_strict: false,
@skaeser

skaeser Mar 21, 2012

The comma at the end of the last property raises a JavaScript Exception in Internet Explorer.. ;-)

@vincentfretin

vincentfretin Mar 21, 2012

Member

Ah! I've just figured out the same problem and I found this comment!
I fixed it.

};
window.tinyMCE.init(init_dict);

0 comments on commit 2daf596

Please sign in to comment.