EasyAdminBundle icon indicating copy to clipboard operation
EasyAdminBundle copied to clipboard

Add new "rawHtmlOutput" option to TextEditorField

Open a-r-m-i-n opened this issue 2 years ago • 2 comments

To optionally enable raw HTML output in detail action and inside modal content (on index action).

Relates: #5155

a-r-m-i-n avatar Apr 03 '22 12:04 a-r-m-i-n

Looks good to me. I did a template override to addresss this, but this feels cleaner

parijke avatar Apr 03 '22 13:04 parijke

After submitting this PR, I've realized that the link in index view to open the modal is always being displayed, also when the contents are empty.

To cover this I've also overrided the template in the end. But when using this field type, you always get HTML output (or empty string). To provide this as option makes still sense to me.

a-r-m-i-n avatar Apr 04 '22 08:04 a-r-m-i-n