Bug #68392

Multiple RTE in element blocktyle dropdown filled only once

Added by Eva Wiggers over 6 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Start date:
2015-07-20
Due date:
% Done:

100%

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

Description

When there are multiple fields with htmlarea in the same content element, only the last RTE blockstyle and textstyle dropdowns get filled.

RTE fields other than the last do have select fields and they are not disabled, but there are no options to select.

Could reproduce on 7.3, could not reproduce on 6.2.

Tried with clean install TYPO3 7.3 with introduction package. Added extra field with ext_tables.php in introduction package.
Easier to reproduce by installing introduction package and tx_news and enable RTE for teaser field or installing introduction package dce(dynamic content elemens) and creating dce with two rte fields.


Files

patchfile.patch (894 Bytes) patchfile.patch Florian Busch (floxx), 2015-11-12 13:53

Related issues

Related to TYPO3 Core - Bug #71889: RTE.default.contentCSS will only be applied to the last RTE while editing a recordClosed2015-11-27

Actions
Related to TYPO3 Core - Bug #71624: Multiple RTEs behave incorrect, especially textstyle Closed2015-11-17

Actions
#1

Updated by Mehdi Guermazi about 6 years ago

Reproduced in 7.3.1 with custom extension, multiple rte and textstyle dropdown.

#2

Updated by Florian Busch (floxx) almost 6 years ago

Confirmed for 7.5.0

Found the bug after some funny javascript debugging in sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Editor/Toolbar.js - an instance variable was declared in prototype, so it was shared across all editor instances.

Patch appended.

#3

Updated by Mathias Schreiber almost 6 years ago

  • Target version set to Candidate for patchlevel
#4

Updated by Gerrit Code Review over 5 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46982

#5

Updated by Gerrit Code Review over 5 years ago

Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47065

#6

Updated by Florian Busch (floxx) over 5 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#7

Updated by Benni Mack about 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF