comparison media/js/tiny_mce/plugins/fullpage/editor_plugin_src.js @ 247:6ed2932901fa

Update tinymce to 3.3.9
author Brian Neal <bgneal@gmail.com>
date Sat, 18 Sep 2010 19:54:11 +0000
parents 149c3567fec1
children
comparison
equal deleted inserted replaced
246:e4dc0b649fcb 247:6ed2932901fa
83 }, 83 },
84 84
85 _setContent : function(ed, o) { 85 _setContent : function(ed, o) {
86 var t = this, sp, ep, c = o.content, v, st = ''; 86 var t = this, sp, ep, c = o.content, v, st = '';
87 87
88 // Ignore raw updated if we already have a head, this will fix issues with undo/redo keeping the head/foot separate
89 if (o.format == 'raw' && t.head)
90 return;
91
88 if (o.source_view && ed.getParam('fullpage_hide_in_source_view')) 92 if (o.source_view && ed.getParam('fullpage_hide_in_source_view'))
89 return; 93 return;
90 94
91 // Parse out head, body and footer 95 // Parse out head, body and footer
92 c = c.replace(/<(\/?)BODY/gi, '<$1body'); 96 c = c.replace(/<(\/?)BODY/gi, '<$1body');