2017-06-30 23 views
3

,當我用我的自定義FLUX CE與flux.filed.text,每次當我救我的文字,我得到新empry線<p></p> aech後段.Add段落之間的空行像<p><br></p>流量:field.text + CKEditor的添加新的空<p></p>在後臺每攢動

在默認flud_styled_content像TextMedia,Text,TextPic - 一切正常。就在這個滯後

<flux:field.text name="text" label="Text" 
       enableRichText="TRUE"/> 

我想:

  1. ,務必關閉電源autoParagraph Turn off enclosing <p> tags in CKEditor 3.0
  2. 刷新配置和創建自定義也嘗試過不同的 默認,最小,自定義等 https://github.com/FluidTYPO3/flux/issues/1388#issuecomment-311618318

我發現如何清潔他們在前端 - 我剛剛添加我n個輸出

<f:format.html parseFuncTSPath="">{text}</f:format.html> 

但是,我在每一個元素保存我得到越來越多的epty線,如

TYPO3 8.7.1 + FLUX 8.2.1

回答

2

沒有找到其他的解決辦法S作爲直接添加條件在「流量」 關於通量/班線60 /表格/現場/ Text.php

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; 
} 

希望TYPO3將在不久的核心解決這個問題或「流量」將增加官方PACH

相關問題