Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new "rawHtmlOutput" option to TextEditorField #5156

Open
wants to merge 1 commit into
base: 4.x
Choose a base branch
from

Conversation

a-r-m-i-n
Copy link
Contributor

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

Relates: #5155

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

Relates: EasyCorp#5155
@parijke
Copy link
Contributor

parijke commented Apr 3, 2022

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

@a-r-m-i-n
Copy link
Contributor Author

a-r-m-i-n commented Apr 4, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants