Bug #72657
closedPaste into t3editor does not work
0%
Description
Hi,
copy something and pasting it into typoscript templates which use t3editor fails to often.
this problem already existed in 6.2 but there it was possible to deactivate t3editor to circumvent the problem.
TypeError: pos is null
removeRange() undo.js:367
UndoHistory.prototype.applyChain() undo.js:375
UndoHistory.prototype.updateTo() undo.js:182
UndoHistory.prototype.pushChains() undo.js:117
UndoHistory.prototype.push() undo.js:111
Editor.prototype.replaceRange() editor.js:780
Editor.prototype.replaceSelection() editor.js:698
Editor.prototype.reroutePasteEvent() editor.js:768
Updated by Andreas Kienast almost 9 years ago
- Status changed from New to Needs Feedback
I've tested it with Chrome on OS X 10.11 and it worked for me. Can you please tell which browser you use and what exactly you want to paste? It would be cool if you could provide a text snippet for testing.
Updated by Daniel Wagner almost 9 years ago
I am using Firefox 43.0.4 on Ubuntu,
pasted a simple comment: ## POSTGRES
sometimes it works and sometime not :/
Updated by Andreas Kienast almost 9 years ago
I tested it with Firefox 45.0a2 and can't confirm the issue :(
Updated by Daniel Wagner almost 9 years ago
Same result but other cause by Firefox 43.0.4 on Windows: (in Chrome not reproducable, too)
TypeError: next is undefined
UndoHistory.prototype.shadowChain() undo.js:342
UndoHistory.prototype.updateTo() undo.js:181
UndoHistory.prototype.commit() undo.js:164
Editor.prototype.replaceSelection() editor.js:692
Editor.prototype.reroutePasteEvent()
A second try delivers the same cause as above mentioned:
TypeError: pos is null
removeRange() undo.js:367
UndoHistory.prototype.applyChain() undo.js:375
UndoHistory.prototype.updateTo() undo.js:182
UndoHistory.prototype.pushChains() undo.js:117
UndoHistory.prototype.push() undo.js:111
Editor.prototype.replaceRange() editor.js:780
Editor.prototype.replaceSelection() editor.js:698
Editor.prototype.reroutePasteEvent() editor.js:768
Updated by Felix Nagel almost 9 years ago
Tested in TYPO3 7.6.2 and Firefox 43.0.4 stable -- seems to work as expected.
Updated by Daniel Wagner almost 9 years ago
Tested TYPO3 7.6.2 with Firefox 44.0.2 stable on Windows 8.1 and
can confirm a similar problem: only the first line get's inserted.
The cause: NotFoundError: Node was not found undo.js:383.
Updated by Riccardo De Contardi over 8 years ago
- Status changed from Needs Feedback to New
I can confirm this issue with the latest master 8.2-dev and Firefox 46.0.1 on MACOSX - the error is the same: NotFoundError: Node was not found undo.js:383.
and only the first line is inserted but only for the first time: if you do again cmd+a, cmd+v again, all lines are inserted.
Updated by Riccardo De Contardi over 8 years ago
The problem still occurs with 8.3-dev and Firefox 48
Updated by Gerrit Code Review over 7 years ago
- Status changed from New to Under Review
Patch set 27 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53413
Updated by Andreas Kienast over 7 years ago
- Related to Feature #81901: Refactor t3editor added
Updated by Andreas Kienast about 7 years ago
- Status changed from Under Review to Rejected
Can be only fixed with upgrading CodeMirror to an unknown version. The issue is fixed since #81901 for upcoming v9.
Updated by Andreas Kienast about 7 years ago
- Has duplicate Bug #82677: Can't paste into empty TypoScript editor window (in Firefox) added