17488 Posts in 4473 Topics by 1978 members
|Go to End|
26 November 2007 at 7:21pm
I have noticed that TinyMCE is stripping out form elements from the source code. I have checked to see if this is done within TinyMCE and have tried the fixes I came across. (setting verify HTML to false, and adding to valid_elements) but neither of these seemed to work.
Is there something SilverStripe specific that is causing form elements to be stripped out of the HTMLEditField that I am not aware of?
26 November 2007 at 9:46pm
why are you trying to insert a form via TinyMCE? as you have found out tinyMCE is pretty annoying to muck around with. There is probably a way to do a form without using TinyMCE
26 November 2007 at 11:20pm
Yes TinyMCE is excrutiatingly annoying to muck around with. The reason why I need forms within TinyMCE is that I need a small form running inline with a bunch of content. The form doesn't actually need to do anything (ie. doesn't submit, long story) but TinyMCE strips out all tags relating to forms, including <input>'s
20 August 2011 at 7:35am
Hi, I know this is an incredibly old thread however there's no solution or reference to one written here.
How can we add form elements in TinyMCE.
We don't want to add a complex form or anything.
Just things like paypal buttons (which use forms).
Feel free to move the post or start a new thread with it if you think appropriate.
|Go to Top|