valid_elements in Tiny MCE

LeoGetz

Avatar: LeoGetz

2010-12-15 21:53

Hi!

I tried to write <input type="submit" value="Send" /> in the html source editor, but Tiny MCE doesn´t accept it. I looked in tiny_mce.js and it´s a valid element. I also tried to write <button type="submit">Send</button> and it didn´t work. I wrote this line in tiny_mce.js: button[accesskey|class|dir<ltr?rtl|disabled<disabled|id|lang|name|onblur|onclick|ondblclick|onfocus|onkeydown|onke ypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style|tabindex|title|type|value], and it didn´t work either. Please help me.

» Quick.Cms v2.x

Makaron

Avatar: Makaron

2010-12-16 16:06

Maybe You can turn off WYSIWG editor when You want to add this kind of code or if You want insert form to one of pages just create another template to it.

Mak-Web.pl - Modyfikacje skryptów Q.Cart i Q.Cms

Back to top
about us | contact