问题
I am using flux and I want to display rte(Rich text editor) in backend form using flux.
<f:section name="Configuration">
//...Here i want to display rte element
</f:section>
回答1:
With Flux Form you can use Below code
<f:section name="Configuration">
<flux:field.text name="Text" label="Whatever" enableRichText="1" />
</f:section>
In the Form You can use below
<f:section name="Main">
<f:format.html>{Text}</f:format.html>
<f:section name="Main">
Please Enable Rich Text Editor From Tools >> User Setting >> Edit & Advanced functions.
For More Help You can see here
来源:https://stackoverflow.com/questions/31940825/rich-text-editor-inside-flux-form