change RTE default values of tables like number of columns
21. August 2012
Add this to the group, user or page TSconfig Field:
RTE.default.buttons.table.properties.headers.defaultValue = none
RTE.default.buttons.table.properties.numberOfColumns.defaultValue = 2
RTE.default.buttons.table.properties.numberOfRows.defaultValue = 2
In your own Extension you should try this in the ext_localconf.php
t3lib_extMgm::addPageTSConfig('
# ***************************************************************************************
# CONFIGURATION of RTE in table "tx_commerce_products", field "description"
# ***************************************************************************************
RTE.config.tx_commerce_products.description {
buttons.table.properties.headers.defaultValue = none
buttons.table.properties.numberOfColumns.defaultValue = 2
buttons.table.properties.numberOfRows.defaultValue = 2
}
');
Hinterlasse einen Kommentar
You must be logged in to post a comment.