Skip to content

Instantly share code, notes, and snippets.

@lsascha
Last active October 12, 2017 10:51
Show Gist options
  • Save lsascha/0c313c15cd2b65c72705d597510a56fb to your computer and use it in GitHub Desktop.
Save lsascha/0c313c15cd2b65c72705d597510a56fb to your computer and use it in GitHub Desktop.
FluidTYPO3/flux patch for 8.2.1 and TYPO3 v8.7 with rte_ckeditor [https://forge.typo3.org/issues/79216]
diff --git a/Classes/Form/Field/Text.php b/Classes/Form/Field/Text.php
index e7d1b4e5..e95d4e92 100644
--- a/Classes/Form/Field/Text.php
+++ b/Classes/Form/Field/Text.php
@@ -59,6 +59,7 @@ class Text extends Input implements FieldInterface
if (true === $this->getEnableRichText() && true === empty($defaultExtras)) {
$typoScript = $this->getConfigurationService()->getAllTypoScript();
$configuration['defaultExtras'] = $typoScript['plugin']['tx_flux']['settings']['flexform']['rteDefaults'];
+ $configuration['enableRichtext'] = true;
} else {
$configuration['defaultExtras'] = $defaultExtras;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment