Fixed bug #12534: htmlArea RTE: list creation looses text in Safari
authorStanislas Rolland <typo3@sjbr.ca>
Tue, 10 Nov 2009 04:56:25 +0000 (04:56 +0000)
committerStanislas Rolland <typo3@sjbr.ca>
Tue, 10 Nov 2009 04:56:25 +0000 (04:56 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@6394 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/rtehtmlarea/ChangeLog
typo3/sysext/rtehtmlarea/htmlarea/plugins/BlockElements/block-elements.js

index 0656ea4..903e45f 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,7 @@
 2009-11-09  Stanislas Rolland  <typo3@sjbr.ca>
 
        * Follow-up to #11847: htmlArea RTE displays empty editing area in Opera 10
+       * Fixed bug #12534: htmlArea RTE: list creation looses text in Safari
 
 2009-11-09  Steffen Kamper  <info@sk-typo3.de>
 
index fbd2b74..8d369d4 100644 (file)
@@ -1,6 +1,7 @@
 2009-11-09  Stanislas Rolland  <typo3@sjbr.ca>
 
        * Follow-up to #11847: htmlArea RTE displays empty editing area in Opera 10
+       * Fixed bug #12534: htmlArea RTE: list creation looses text in Safari
 
 2009-11-06  Stanislas Rolland  <typo3@sjbr.ca>
 
index c73de9c..35fffed 100644 (file)
@@ -819,7 +819,7 @@ BlockElements = HTMLArea.Plugin.extend({
                var spans = element.getElementsByTagName("span");
                for (var i = spans.length; --i >= 0;) {
                        if (HTMLArea._hasClass(spans[i], "Apple-style-span")) {
-                               HTMLArea.removeFromParent(spans[i]);
+                               this.editor.removeMarkup(spans[i]);
                        }
                }
        },