X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Ftiny_mce%2Fplugins%2Flayer%2Feditor_plugin_src.js;h=a8ac5a72fcbc01f9eefa40d732564085d01d882a;hb=b05f4eef4014db3885787ef15107cba93c932ac9;hp=d76048605e3349602960232c75b90f6ea0c280f1;hpb=56d69e5d8434e98835a2582c59b771ba69475431;p=citadel.git diff --git a/webcit/tiny_mce/plugins/layer/editor_plugin_src.js b/webcit/tiny_mce/plugins/layer/editor_plugin_src.js index d76048605..a8ac5a72f 100644 --- a/webcit/tiny_mce/plugins/layer/editor_plugin_src.js +++ b/webcit/tiny_mce/plugins/layer/editor_plugin_src.js @@ -1,5 +1,11 @@ -/* - * Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved. +/** + * editor_plugin_src.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing */ (function() { @@ -192,6 +198,8 @@ le.style.height = le.height ? (le.height + 'px') : '100px'; le.style.position = "absolute"; + + ed.dom.setAttrib(le, 'data-mce-style', ''); ed.addVisual(ed.getBody()); } @@ -203,4 +211,4 @@ // Register plugin tinymce.PluginManager.add('layer', tinymce.plugins.Layer); -})(); +})(); \ No newline at end of file