Skip to content
Snippets Groups Projects
Commit a64502c3 authored by Fabian Galinski's avatar Fabian Galinski :pouting_cat:
Browse files

[TASK] Adapation of the RTE size to match the toolbar width

parent 39d84289
No related branches found
No related tags found
1 merge request!10Typo3v8compatibility
This commit is part of merge request !10. Comments created here will be created in the context of that merge request.
......@@ -304,7 +304,7 @@ class RichTextElement extends AbstractFormElement {
$editorWrapWidth = '100%';
} else {
$options = $backendUser->userTS['options.'];
$width = 530 + (isset($options['RTELargeWidthIncrement']) ? (int) $options['RTELargeWidthIncrement'] : 150);
$width = 610 + (isset($options['RTELargeWidthIncrement']) ? (int) $options['RTELargeWidthIncrement'] : 150);
/** @var InlineStackProcessor $inlineStackProcessor */
$inlineStackProcessor = GeneralUtility::makeInstance(InlineStackProcessor::class);
$inlineStackProcessor->initializeByGivenStructure($this->data['inlineStructure']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment