Skip to content

Commit

Permalink
Again fix the embedding of images in TinyMCE. Fixes zotonic#286
Browse files Browse the repository at this point in the history
  • Loading branch information
Arjan Scherpenisse committed Feb 2, 2012
1 parent 7f286d0 commit 747564d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion modules/mod_base/lib/js/modules/tinymce3.4.7/tiny_mce.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions modules/mod_base/lib/js/modules/tinymce3.4.7/tiny_mce_src.js
Expand Up @@ -4859,6 +4859,8 @@ tinymce.html.Writer = function(settings) {
return false;
}
}

if (type == 8) return false; // keep comment nodes

// Keep non whitespace text nodes
if ((type === 3 && !whiteSpaceRegExp.test(node.nodeValue)))
Expand Down

0 comments on commit 747564d

Please sign in to comment.