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

HTML Tags in Description/Label always rendered - even when using HTML entities #1107

Open
futureweb opened this issue Aug 18, 2020 · 4 comments

Comments

@futureweb
Copy link

Description:

HTML Tags in Description/Label always rendered - even when using HTML entities.

Expected Behavior

Showing not rendered Source

Actual Behavior

Showing rendered Output

Steps to Reproduce

See: https://codepen.io/futureweb/pen/PoNzgOY

"label":"Link to <a href=\\"agb.pdf\\">AGBs</a>"
and
"label":"Another Link to &lt;a href=\\"agb.pdf\\"&gt;AGBs&lt;/a&gt;"

both resulting in rendered Output - so one can't modify it on Form edit ...

Screenshot - (optional)

grafik

@kevinchappell
Copy link
Owner

Is this still an issue? i've considered adding a minimal wysiwyg for the inputs that would handle this situation but would like to gauge interest first

@futureweb
Copy link
Author

@kevinchappell - for us it's still a "big deal" - as often we have to link AGBs or GDPR Stuff within Forms - so either output HTML Code "as is" or with "minimal wysiwyg" would be OK (minimal wysiwyg would be really nice I guess), but rendered HTML Output as current, without any possibility to edit the rendered HTML Output, is the "worst case" ;-)

@kevinchappell
Copy link
Owner

ok thanks, thats good to know. the way i picture mini wysiwyg working is when you highlight text in the field an interactive tooltip appears above the field with buttons for basic formatting. To start, formats would be Bold, Italic, Underline and Link

@futureweb
Copy link
Author

@kevinchappell - for me this would sound pretty fine! ;-)
Would be nice if the "Mini-WYSIWYG Features" could be enabled/disabled within config - as we would only allow LINK and maybe BOLD ...
As End-Users tend to "style too much" when they got the possibility to ... lol ;-)

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

No branches or pull requests

2 participants