Project

General

Profile

Actions

Bug #82677

closed

Can't paste into empty TypoScript editor window (in Firefox)

Added by Josua Stabenow over 6 years ago. Updated over 6 years ago.

Status:
Rejected
Priority:
Could have
Assignee:
-
Category:
Backend JavaScript
Target version:
-
Start date:
2017-10-04
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

This is something that has been bugging me for some time now:

When I open an empty sys_template in the backend and try to paste something into either constants or setup, a Javascript error triggers in CodeMirror's undo.js, which incidentially aborts the paste action. The weird thing is that this behavior is not consistent. Sometimes the content is pasted completely, sometimes only the first line. Most of the time nothing is pasted.

This only happens in Firefox (afaik), and only if the editor window is completely empty. It also happens in other instances of the t3editor/CodeMirror within the Backend (not just sys_template). I observed this behavior as far back as TYPO3 4.5, and with many different Firefox versions and installations.


Related issues 2 (0 open2 closed)

Is duplicate of TYPO3 Core - Bug #72657: Paste into t3editor does not workRejected2016-01-12

Actions
Is duplicate of TYPO3 Core - Bug #53213: TypoScript Editor copy&paste BugsClosed2013-10-30

Actions
Actions #1

Updated by Georg Ringer over 6 years ago

  • Status changed from New to Needs Feedback

can you test that on master as well as there has been major rewrites regarding codemirror. it should be fine there. however that won't be backported to 8 nor fixed in 8 (I fear)

Actions #2

Updated by Josua Stabenow over 6 years ago

Quite the effort for a minor annyance :-)
I tested it on 9-dev master from Github and could not reproduce the bug. It seems to be fixed. Although it's sad that we won't have the new editor in 8 LTS, I can understand that and live with it...

Actions #3

Updated by Georg Ringer over 6 years ago

  • Status changed from Needs Feedback to Rejected

Thanks for your feedback! I am closing this issue as it is solved in 9 and as said, there won't be any change in older branches.

Actions #4

Updated by Andreas Kienast over 6 years ago

  • Is duplicate of Bug #72657: Paste into t3editor does not work added
Actions #5

Updated by Andreas Kienast over 6 years ago

  • Is duplicate of Bug #53213: TypoScript Editor copy&paste Bugs added
Actions

Also available in: Atom PDF