Mercurial > public > sg101
comparison static/js/tiny_mce/plugins/layer/editor_plugin_src.js @ 442:6c182ceb7147
Fixing #217; upgrade TinyMCE to 3.4.2 and enable the paste plugin.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 26 May 2011 00:43:49 +0000 |
parents | 88b2b9cb8c1f |
children |
comparison
equal
deleted
inserted
replaced
441:33d0c55e57a9 | 442:6c182ceb7147 |
---|---|
196 | 196 |
197 if (le.style.height == "") | 197 if (le.style.height == "") |
198 le.style.height = le.height ? (le.height + 'px') : '100px'; | 198 le.style.height = le.height ? (le.height + 'px') : '100px'; |
199 | 199 |
200 le.style.position = "absolute"; | 200 le.style.position = "absolute"; |
201 | |
202 ed.dom.setAttrib(le, 'data-mce-style', ''); | |
201 ed.addVisual(ed.getBody()); | 203 ed.addVisual(ed.getBody()); |
202 } | 204 } |
203 | 205 |
204 ed.execCommand('mceRepaint'); | 206 ed.execCommand('mceRepaint'); |
205 ed.nodeChanged(); | 207 ed.nodeChanged(); |