TinyMCE 3.2.7

git-svn-id: https://develop.svn.wordpress.org/trunk@11974 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2009-09-26 08:33:16 +00:00
parent a8505d056f
commit c4571d4a60
30 changed files with 114 additions and 110 deletions
@@ -161,6 +161,15 @@
});
};
ed.onSaveContent.add(function(ed, o) {
if ( typeof(switchEditors) == 'object' ) {
if ( ed.isHidden() )
o.content = o.element.value;
else
o.content = switchEditors.pre_wpautop(o.content);
}
});
// Add listeners to handle more break
t._handleMoreBreak(ed, url);
File diff suppressed because one or more lines are too long