import rt 3.8.7
[freeside.git] / rt / share / html / NoAuth / RichText / FCKeditor / editor / _source / classes / fcktoolbarbreak_ie.js
diff --git a/rt/share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fcktoolbarbreak_ie.js b/rt/share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fcktoolbarbreak_ie.js
new file mode 100644 (file)
index 0000000..787bbbf
--- /dev/null
@@ -0,0 +1,38 @@
+/*\r
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net\r
+ * Copyright (C) 2003-2009 Frederico Caldeira Knabben\r
+ *\r
+ * == BEGIN LICENSE ==\r
+ *\r
+ * Licensed under the terms of any of the following licenses at your\r
+ * choice:\r
+ *\r
+ *  - GNU General Public License Version 2 or later (the "GPL")\r
+ *    http://www.gnu.org/licenses/gpl.html\r
+ *\r
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")\r
+ *    http://www.gnu.org/licenses/lgpl.html\r
+ *\r
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")\r
+ *    http://www.mozilla.org/MPL/MPL-1.1.html\r
+ *\r
+ * == END LICENSE ==\r
+ *\r
+ * FCKToolbarBreak Class: breaks the toolbars.\r
+ * It makes it possible to force the toolbar to break to a new line.\r
+ * This is the IE specific implementation.\r
+ */\r
+\r
+var FCKToolbarBreak = function()\r
+{}\r
+\r
+FCKToolbarBreak.prototype.Create = function( targetElement )\r
+{\r
+       var oBreakDiv = FCKTools.GetElementDocument( targetElement ).createElement( 'div' ) ;\r
+\r
+       oBreakDiv.className = 'TB_Break' ;\r
+\r
+       oBreakDiv.style.clear = FCKLang.Dir == 'rtl' ? 'left' : 'right' ;\r
+\r
+       targetElement.appendChild( oBreakDiv ) ;\r
+}\r