Skip to content

Instantly share code, notes, and snippets.

@lsascha
lsascha / flux-t3-8.2.1-ckeditor.patch
Last active October 12, 2017 10:51
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 {