Project

General

Profile

Actions

Feature #25039

closed

htmlArea RTE: Add possiblity to set pastetoggle to ON by default

Added by Michael Bakonyi about 13 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Should have
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2011-02-15
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.3
Tags:
Complexity:
Sprint Focus:

Description

It would be nice if the admin had the possiblity to set the button "pastetoggle" per default to ON so that the editor wouldn't have to press this button every time he/she pastes content from an external resource into the RTE.

(issue imported from #M17591)

Actions #1

Updated by Gregor Nathanael Meyer about 13 years ago

I am wondering, why the corresponding setting on the RTE tab in the user settings is ignored. Or do I misinterpret this Setting (in german: "Modus für sauberes Einfügen": "Als einfachen Text einfügen")?

Actions #2

Updated by Michael Bakonyi about 13 years ago

Additionally you need to add a new button to the RTE which is called "pastetoggle". The options in the user settings only define what happens with the pasted text when pastetoggle is activated.

Actions #3

Updated by Gregor Nathanael Meyer about 13 years ago

Ah, I see. Then back to feature request mode: The Admin should be able to set the default state of pastetoggle to On. And it should work without the button visible, so users can't switch it off. Our users will never in life enable this feature by theirselfs, so the admin must set it for them.

Actions #4

Updated by Steffen Gebert almost 13 years ago

  • Category set to RTE (rtehtmlarea + ckeditor)
  • Target version deleted (0)
  • TYPO3 Version set to 4.5
Actions #5

Updated by Stanislas Rolland over 12 years ago

  • Target version set to 4.6.0-beta1
  • PHP Version set to 5.3
  • TYPO3 Version changed from 4.5 to 4.6

The manual will be updated to document the user settings added by the RTE. Default and overriding values may be set for those in User TSConfig. For example, setup.override.rteCleanPasteBehaviour = plainText, forces the specified clean paste behaviour, the user not being able to change the setting.

New Page TSConfig properties will be added:

RTE.default.buttons.pastetoggle.setActiveOnRteOpen : If set, and if the pastetoggle button is enabled, the button is toggled to ON when the RTE opens.

RTE.default.buttons.pastetoggle.hidden : If set, and if the pastetoggle button is enabled, the button is hidden in both the toolbar and the context menu. Hence, if buttons.pastetoggle.setActiveOnRteOpen is also set, all paste operations will be performed using the set clean paste behaviour.

Actions #6

Updated by Stanislas Rolland over 12 years ago

  • Subject changed from add possiblity to set pastetoggle to ON by default to htmlArea RTE: Add possiblity to set pastetoggle to ON by default
  • Assignee set to Stanislas Rolland
Actions #7

Updated by Mr. Hudson over 12 years ago

Patch set 1 of change I3f479846d5ce373f7f386fd450603faed08f7e8d has been pushed to the review server.
It is available at http://review.typo3.org/3896

Actions #8

Updated by Mr. Hudson over 12 years ago

Patch set 2 of change I3f479846d5ce373f7f386fd450603faed08f7e8d has been pushed to the review server.
It is available at http://review.typo3.org/3896

Actions #9

Updated by Steffen Gebert over 12 years ago

  • Status changed from New to Under Review
Actions #10

Updated by Stanislas Rolland over 12 years ago

  • Status changed from Under Review to Resolved
Actions #11

Updated by Michael Bakonyi over 12 years ago

Great to hear this was integrated. Thx a lot! :)

Actions #12

Updated by Xavier Perseguers about 12 years ago

  • Status changed from Resolved to Closed
Actions #13

Updated by Ernesto Baschny almost 11 years ago

  • Target version deleted (4.6.0-beta1)
Actions

Also available in: Atom PDF