Project

General

Profile

Actions

Bug #53213

closed

TypoScript Editor copy&paste Bugs

Added by Gernot Ploiner over 10 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
t3editor
Target version:
Start date:
2013-10-30
Due date:
% Done:

0%

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

Description

If you copy&paste TypoScript code into a new template, some errors appears.
Try the following to reproduce it:

Create a new TypoScript Extension-Template and open the Setup-Field for the first time.
Then copy & paste any TypoScript-Code into it. It wont work.
Press Enter. Then paste again. Only the first Line of the Clipboard is inserted an there is a mystery with Linenumbers (see Screen 1). There are blank lines and the lines are vertically misplaced.

Try to delete the Code. It is not possible to delete the empty Line 1.
Paste again: Now it works, but the Linenumbers are broken again (see Sceen 2).

Tested in TYPO3 6.1.5 and Firefox 24 and 25.

In Chrome 30 copy&paste works, but the Linenumbers are also broken (see Screnn 3).

The Problem is also well-known in all other TYPO3 Versions.


Files

Screen1_firefox.gif (9.04 KB) Screen1_firefox.gif Firefox after first ENTER and paste a few lines (only the first line was inserted) Gernot Ploiner, 2013-10-30 06:59
Screen2_firefox.gif (8.32 KB) Screen2_firefox.gif Firefox after more ENTERs and paste. Linenumbers are wrong. Gernot Ploiner, 2013-10-30 06:59
Screen3_chrome.gif (8.13 KB) Screen3_chrome.gif Chrome after first paste. Linenumbers are wrong. Gernot Ploiner, 2013-10-30 06:59

Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Task #28853: Upgrade CodeMirror to 3.0Closed2011-08-08

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

Actions
Has duplicate TYPO3 Core - Bug #82677: Can't paste into empty TypoScript editor window (in Firefox)Rejected2017-10-04

Actions
Actions

Also available in: Atom PDF