[FEATURE] RTE: Deprecated JavaScript methods removed 77/33377/3
authorStanislas Rolland <typo3@sjbr.ca>
Sat, 18 Oct 2014 02:48:47 +0000 (22:48 -0400)
committerStanislas Rolland <typo3@sjbr.ca>
Wed, 22 Oct 2014 22:50:41 +0000 (00:50 +0200)
This change adds documentation of breaking change #62291 which
removed some deprecated JavaScript methods of the RTE.

Releases: master
Resolves: #62291
Change-Id: I52eab4f949d8699837cb42d9bcbb64760cea1778
Reviewed-on: http://review.typo3.org/33377
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
typo3/sysext/core/Documentation/Changelog/master/Breaking-62291-RTEDeprecatedJavaScriptMethodsRemoved.rst [new file with mode: 0644]

diff --git a/typo3/sysext/core/Documentation/Changelog/master/Breaking-62291-RTEDeprecatedJavaScriptMethodsRemoved.rst b/typo3/sysext/core/Documentation/Changelog/master/Breaking-62291-RTEDeprecatedJavaScriptMethodsRemoved.rst
new file mode 100644 (file)
index 0000000..f33052d
--- /dev/null
@@ -0,0 +1,73 @@
+============================================================
+Breaking: #62291 - RTE Deprecated JavaScript methods removed
+============================================================
+
+Description
+===========
+
+The following RTE JavaScript methods, deprecated since TYPO3 4.7, were removed:
+
+HTMLArea.Editor.forceRedraw: use HTMLArea.Framework.doLayout instead
+
+HTMLArea.Editor.convertNode: use HTMLArea.DOM.convertNode instead
+HTMLArea.Editor.getBlockAncestors: use HTMLArea.DOM.getBlockAncestors instead
+HTMLArea.getInnerText: use HTMLArea.DOM.getInnerText instead
+HTMLArea.hasAllowedAttributes: use HTMLArea.DOM.hasAllowedAttributes instead
+HTMLArea.isBlockElement: use HTMLArea.DOM.isBlockElement instead
+HTMLArea.needsClosingTag: use HTMLArea.DOM.needsClosingTag instead
+HTMLArea.Editor.rangeIntersectsNode: use HTMLArea.DOM.rangeIntersectsNode instead
+HTMLArea.removeFromParent: use HTMLArea.DOM.removeFromParent instead
+
+HTMLArea.Editor.cleanAppleStyleSpans: use HTMLArea.DOM.Node.cleanAppleStyleSpans instead
+HTMLArea.Editor.removeMarkup: use HTMLArea.DOM.Node.removeMarkup instead
+HTMLArea.Editor.wrapWithInlineElement: use HTMLArea.DOM.Node.wrapWithInlineElement instead
+
+HTMLArea.Editor.addRangeToSelection: use HTMLArea.DOM.Selection.addRange instead
+HTMLArea.Editor._createRange: use HTMLArea.DOM.Selection.createRange instead
+HTMLArea.Editor.emptySelection: use HTMLArea.DOM.Selection.empty instead
+HTMLArea.Editor.endPointsInSameBlock: use HTMLArea.DOM.Selection.endPointsInSameBlock instead
+HTMLArea.Editor.execCommand: use HTMLArea.DOM.Selection.execCommand instead
+HTMLArea.Editor._getSelection: use HTMLArea.DOM.Selection.get instead
+HTMLArea.Editor.getAllAncestors: use HTMLArea.DOM.Selection.getAllAncestors instead
+HTMLArea.Editor.getSelectedElement: use HTMLArea.DOM.Selection.getElement instead
+HTMLArea.Editor.getEndBlocks: use HTMLArea.DOM.Selection.getEndBlocks instead
+HTMLArea.Editor._getFirstAncestor: use HTMLArea.DOM.Selection.getFirstAncestorOfType instead
+HTMLArea.Editor.getFullySelectedNode: use HTMLArea.DOM.Selection.getFullySelectedNode instead
+HTMLArea.Editor.getSelectedHTML: use HTMLArea.DOM.Selection.getHtml instead
+HTMLArea.Editor.getSelectedHTMLContents: use HTMLArea.DOM.Selection.getHtml instead
+HTMLArea.Editor.getParentElement: use HTMLArea.DOM.Selection.getParentElement instead
+HTMLArea.Editor.getSelectionRanges: use HTMLArea.DOM.Selection.getRanges instead
+HTMLArea.Editor.getSelectionType: use HTMLArea.DOM.Selection.getType instead
+HTMLArea.Editor.insertHTML: use HTMLArea.DOM.Selection.insertHtml instead
+HTMLArea.Editor.insertNodeAtSelection: use HTMLArea.DOM.Selection.insertNode instead
+HTMLArea.Editor._selectionEmpty: use HTMLArea.DOM.Selection.isEmpty instead
+HTMLArea.Editor.hasSelectedText: use !HTMLArea.DOM.Selection.isEmpty instead
+HTMLArea.Editor.selectNode: use HTMLArea.DOM.Selection.selectNode instead
+HTMLArea.Editor.selectNodeContents: use HTMLArea.DOM.Selection.selectNodeContents instead
+HTMLArea.Editor.selectRange: use HTMLArea.DOM.Selection.selectRange instead
+HTMLArea.Editor.setSelectionRanges: use HTMLArea.DOM.Selection.setRanges instead
+HTMLArea.Editor.surroundHTML: use HTMLArea.DOM.Selection.surroundHtml instead
+
+HTMLArea.Editor.getBookmark: use HTMLArea.DOM.BookMark.get instead
+HTMLArea.Editor.getBookmarkNode: use HTMLArea.DOM.BookMark.getEndPoint instead
+HTMLArea.Editor.moveToBookmark: use HTMLArea.DOM.BookMark.moveTo instead
+
+HTMLArea.htmlDecode: use HTMLArea.util.htmlDecode instead
+HTMLArea.htmlEncode: use HTMLArea.util.htmlEncode instead
+
+Impact
+======
+
+3rd party extensions adding plugins to the RTE and using the removed methods will fail.
+
+
+Affected installations
+======================
+
+A TYPO3 instance is affected if a 3rd party extension of the RTE refers to the removed methods.
+
+
+Migration
+=========
+
+The affected 3rd party extensions must be modified to use the replacement methods.
\ No newline at end of file