Project

General

Profile

Actions

Bug #33457

closed

Can't remove block format "Container" in RTE

Added by Sven Burkert almost 13 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
Start date:
2012-01-26
Due date:
% Done:

0%

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

Description

I want to remove the format option "Container" which wraps a text with a div-tag. Editors do not know what this is and are irritated. I thought it could be removed with this configuration:

RTE.default.buttons.formatblock.removeItems = div

But the block format is shown in the selectbox, because I use the button "indent":

typo3\sysext\rtehtmlarea\extensions\BlockElements\class.tx_rtehtmlarea_blockelements.php, line 137 - 140

// Add div element if indent is configured in the toolbar
if (in_array('indent', $this->toolbar) || in_array('outdent', $this->toolbar)) {
    $blockElementsOrder = array_merge($blockElementsOrder, array('div'));
}

When I remove this code, the "Container" disappears, and the indent option still works (for normal text and for lists). But I doubt this is the solution ;)


Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #30346: Bug: RTE.default.buttons.formatblock.removeItems = divClosed2011-09-27

Actions
Actions #1

Updated by Gerrit Code Review almost 13 years ago

  • Status changed from New to Under Review

Patch set 2 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/8921

Actions #2

Updated by Stanislas Rolland almost 13 years ago

  • Assignee set to Stanislas Rolland
  • Target version set to 4.5.12

Please test this change: http://review.typo3.org/8921

Actions #3

Updated by Fedir RYKHTIK almost 13 years ago

+1 for 4.5 LTS

Actions #4

Updated by Gerrit Code Review almost 13 years ago

Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/8952

Actions #5

Updated by Gerrit Code Review almost 13 years ago

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/8953

Actions #6

Updated by Stanislas Rolland almost 13 years ago

Fedir RYKHTIK wrote:

+1 for 4.5 LTS

Thanks for testing.

Actions #7

Updated by Stanislas Rolland almost 13 years ago

  • Status changed from Under Review to Resolved
Actions #8

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF