* Fixed bug #3537: htmlArea RTE: Inconsistent markup when adding tr/td in different...
authorStanislas Rolland <typo3@sjbr.ca>
Tue, 19 Feb 2008 16:28:08 +0000 (16:28 +0000)
committerStanislas Rolland <typo3@sjbr.ca>
Tue, 19 Feb 2008 16:28:08 +0000 (16:28 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3233 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/rtehtmlarea/ChangeLog
typo3/sysext/rtehtmlarea/htmlarea/htmlarea-gecko.js
typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js

index 4f6326f..01744b3 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -14,6 +14,7 @@
        * Fixed bug #7583: htmlArea RTE should allow to markup text in absence of any block element
        * Fixed bug #7584: htmlArea RTE: pressing TAB in last cell of table should create new row
        * Fixed bug #7585: Invoking htmlArea RTE block style plugin from other plugin fails in FF3 and IE7
+       * Fixed bug #3537: htmlArea RTE: Inconsistent markup when adding tr/td in different ways in Firefox
 
 2008-02-19  Ingo Renner  <ingo@typo3.org>
 
index 8bf1b7d..caf3c5f 100644 (file)
@@ -3,6 +3,7 @@
        * Fixed bug #7583: htmlArea RTE should allow to markup text in absence of any block element
        * Fixed bug #7584: htmlArea RTE: pressing TAB in last cell of table should create new row
        * Fixed bug #7585: Invoking htmlArea RTE block style plugin from other plugin fails in FF3 and IE7
+       * Fixed bug #3537: htmlArea RTE: Inconsistent markup when adding tr/td in different ways in Firefox
 
 2008-02-17  Stanislas Rolland  <stanislas.rolland@fructifor.ca>
 
index 1855c58..f4fd9f8 100644 (file)
@@ -57,6 +57,7 @@ HTMLArea.prototype._initEditMode = function () {
                try {
                        this._doc.designMode = "on";
                        if (this._doc.queryCommandEnabled("insertbronreturn")) this._doc.execCommand("insertbronreturn", false, this.config.disableEnterParagraphs);
+                       if (this._doc.queryCommandEnabled("enableInlineTableEditing")) this._doc.execCommand("enableInlineTableEditing", false, this.config.buttons.table && this.config.buttons.table.enableHandles);
                        if (this._doc.queryCommandEnabled("styleWithCSS")) this._doc.execCommand("styleWithCSS", false, this.config.useCSS);
                                else if (this._doc.queryCommandEnabled("useCSS")) this._doc.execCommand("useCSS", false, !this.config.useCSS);
                } catch(e) {
@@ -463,6 +464,7 @@ HTMLArea.NestedHandler = function(ev,editor,nestedObj,noOpenCloseAction) {
                                                        editor.sizeIframe(-2);
                                                }
                                                if (editor._doc.queryCommandEnabled("insertbronreturn")) editor._doc.execCommand("insertbronreturn", false, editor.config.disableEnterParagraphs);
+                                               if (editor._doc.queryCommandEnabled("enableInlineTableEditing")) editor._doc.execCommand("enableInlineTableEditing", false, editor.config.buttons.table && editor.config.buttons.table.enableHandles);
                                                if (editor._doc.queryCommandEnabled("styleWithCSS")) editor._doc.execCommand("styleWithCSS", false, editor.config.useCSS);
                                                        else if (editor._doc.queryCommandEnabled("useCSS")) editor._doc.execCommand("useCSS", false, !editor.config.useCSS);
                                        } catch(e) {
index 707e7d2..6af8bcd 100644 (file)
@@ -1246,6 +1246,7 @@ HTMLArea.prototype.setMode = function(mode) {
                        if (HTMLArea.is_gecko) {
                                try {
                                        if (this._doc.queryCommandEnabled("insertbronreturn")) this._doc.execCommand("insertbronreturn", false, this.config.disableEnterParagraphs);
+                                       if (this._doc.queryCommandEnabled("enableInlineTableEditing")) this._doc.execCommand("enableInlineTableEditing", false, this.config.buttons.table && this.config.buttons.table.enableHandles);
                                        if (this._doc.queryCommandEnabled("styleWithCSS")) this._doc.execCommand("styleWithCSS", false, this.config.useCSS);
                                                else if (this._doc.queryCommandEnabled("useCSS")) this._doc.execCommand("useCSS", false, !this.config.useCSS);
                                } catch(e) {}