Skip to content

Commit

Permalink
Hotfix for "Empty lines from RTE CKEditor should be remove while stor…
Browse files Browse the repository at this point in the history
…ing in the database" -> FluidTYPO3#1388 (comment)
  • Loading branch information
dacostafilipe committed Oct 12, 2017
1 parent c64f9cd commit e1e3b5d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Classes/Form/Field/Text.php
Expand Up @@ -62,6 +62,13 @@ public function buildConfiguration()
} else {
$configuration['defaultExtras'] = $defaultExtras;
}

// HOTFIX : This will fixed in the next flux release!
if (true === $this->getEnableRichText()) {
$configuration['enableRichtext'] = true;
$configuration['richtextConfiguration'] = 'default';
}

$renderType = $this->getRenderType();
if (false === empty($renderType)) {
$configuration['renderType'] = $renderType;
Expand Down

0 comments on commit e1e3b5d

Please sign in to comment.