[TYPO3-core] FYI: Feature #6712: htmlArea RTE: make hotkeys configurable in PageTSConfig

Stanislas Rolland stanislas.rolland at fructifor.ca
Wed Nov 14 18:42:06 CET 2007


FYI: The attached SVN patches were committed.

Type:
Feature

Problem:
RTE hotkeys are hardcoded.

Solution:
The new plugin API will automatically register hotkeys associated with 
buttons when the association is specified in PageTSConfig by property:
RTE.default.buttons.<button-name>.hotKey = some-character

This will work of course only if the buttons are registered by plugins 
that use the API. For now: italic, bold, underline, strikethrough, 
subscript and superscript.

Comments:
Hotkeys for bold, italic, underline(deprecated) and 
strikethrough(deprecated) were previously harcoded.
Note that in IE bold and italic produce em and strong tags respectively.
This patch is breaking some backward compatibility for default 
configuration settings in which buttons associated with previously 
hardcoded hotkeys are not enabled. If the buttons are added to the 
configuration, the hotkeys will not be added if the association is not 
specified in PageTSConfig.

Branches:
Trunk

Regards,
Stanislas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rtehtmlarea_feature_6712_2.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20071114/c66aeffe/attachment-0002.txt 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rtehtmlarea_feature_6712.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20071114/c66aeffe/attachment-0003.txt 


More information about the TYPO3-team-core mailing list