* Fixed bug #7583: htmlArea RTE should allow to markup text in absence of any block...
authorStanislas Rolland <typo3@sjbr.ca>
Tue, 19 Feb 2008 04:36:49 +0000 (04:36 +0000)
committerStanislas Rolland <typo3@sjbr.ca>
Tue, 19 Feb 2008 04:36:49 +0000 (04:36 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3225 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/rtehtmlarea/ChangeLog
typo3/sysext/rtehtmlarea/htmlarea/plugins/InlineElements/inline-elements.js

index 173edac..be54196 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-02-19  Stanislas Rolland  <stanislas.rolland@fructifor.ca>
+
+       * Fixed bug #7583: htmlArea RTE should allow to markup text in absence of any block element
+
 2008-02-19  Ingo Renner  <ingo@typo3.org>
 
        * added feature #7580: Enable tabs for be_groups, credits Francois Suter
index 131cd8d..2919cc8 100644 (file)
@@ -1,3 +1,7 @@
+2008-02-19  Stanislas Rolland  <stanislas.rolland@fructifor.ca>
+
+       * Fixed bug #7583: htmlArea RTE should allow to markup text in absence of any block element
+
 2008-02-17  Stanislas Rolland  <stanislas.rolland@fructifor.ca>
 
        * Fixed bug #7564: htmlarea RTE: context menu alignment options produce js error
index 99ef7aa..51098c4 100644 (file)
@@ -27,7 +27,7 @@
 /*
  * Inline Elements Plugin for TYPO3 htmlArea RTE
  *
- * TYPO3 SVN ID: $Id$
+ * TYPO3 SVN ID: $Id: inline-elements.js $
  */
 /*
  * Creation of the class of InlineElements plugins
@@ -492,7 +492,7 @@ InlineElements = HTMLArea.Plugin.extend({
                } else {
                        var parent = this.editor.getParentElement(selection);
                        var endBlocks = this.editor.getEndBlocks(selection);
-                       return (endBlocks.start === endBlocks.end && !/^(body|table|thead|tbody|tfoot|tr)$/i.test(parent.nodeName));
+                       return (endBlocks.start === endBlocks.end && !/^(table|thead|tbody|tfoot|tr)$/i.test(parent.nodeName));
                }
        },