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

Form / Inputs generated as text rather than HTML in "Text" module #67

Closed
gredinger opened this issue Apr 14, 2016 · 3 comments
Closed

Comments

@gredinger
Copy link

image

image

image

It seems only forms and inputs are having this issue. Other things such as images and anchors load fine. I've tried the other WYSIWG editor and it produced the same results.

@dleffler
Copy link
Collaborator

Though the 'form' buttons are active with the editor(s), we strip all form, script, etc tags from any wysiwyg text to prevent security issues. If you want to display a form, you should active the form module and use it.

An alternative would be to write it (long hand) as a code snippet (module) which bypasses the security sanitization checks when saving.

@gredinger
Copy link
Author

As far as I'm aware, you can't load a module inside the text module. So, the form would appear in the container rather than the individual tab of the text module.

@dleffler
Copy link
Collaborator

Rather than using text module with tabs for each text item, you could insert a 'container' module with the 'tabbed' view and then place a text module in some of the tabs and a form module in the other tabs.

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

No branches or pull requests

2 participants