Bug #75392
closedRTE pastetoggle with multiple RTEs in an element does not work as intended
0%
Description
Hi everyone,
there are two problems with the RTE Pastetoggle, when there are more than two RTEs in an element.
First problem:
If the pastetoggle button is visible by RTE.default.showButtons := addToList(pastetoggle) and you activate it for a RTE, it is activated for all RTEs in the element.
Second problem:
This problem seems to be a result of the first problem somehow. If the pastetoggle button is visible and the RTE.options.buttons.pastetoggle.setActiveOnRteOpen
is set, then it behaves very strange: Each odd number of RTEs in an element respects this setting, each even number of RTEs not. So if you have 2 (or 4, 6, …) RTEs in a single element, then the copied text will be pasted as it is, but with 3 (or 5, 7, …) RTEs the text’s format will be removed.
I appended an extension which adds four elements with 2, 3, 4 and 5 RTEs. This extension also sets:
- RTE.default.showButtons := addToList(pastetoggle)
- RTE.options.buttons.pastetoggle.setActiveOnRteOpen = 1
Files
Updated by Wouter Wolters over 8 years ago
- Status changed from New to Needs Feedback
Can you tell us the exact TYPO3 version you are using?
Updated by Riccardo De Contardi about 8 years ago
- Status changed from Needs Feedback to New
Updated by Mathias Schreiber almost 7 years ago
- Status changed from New to Closed
HTMLArea is no longer supported by TYPO3.
You can open up new issues here https://github.com/FriendsOfTYPO3/rtehtmlarea.
Cheers
Mathias