Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • ConradoJr 13 posts 33 karma points
    Dec 06, 2010 @ 15:01

    Best way to insert the input tag TinyMCE

    Hello everyone!

    What is the best way to insert an 'input' into the TinyMCE editor.
    Today I insert using xslt, but I do not know if it's the best way.


  • Sascha Wolter 615 posts 1101 karma points
    Dec 07, 2010 @ 00:24
    Sascha Wolter

    Hi ConradoJr,

    inserting the input tags via a macro (either .Net or Xslt) is probably the best way, e.g. if you have a newsletter signup box. However IMHO you should be quite restrictive and careful about this. Although it is possible to use the WYSIWYG editor for some crazy html stuff it is in reality often better to limit it's uses, one of the reasons being that the more flexibility you give the editors the more possible harm they can do and also that the more you use the WYSIWYG editor to create complex html structures the more you go back to writing static html pages. Nevertheless it's excellent to have the option, if your editors insert the 'input' tags via a pre-defined macro at least you can be sure that the html in the macro is fine.

    Hope that helps,


  • ConradoJr 13 posts 33 karma points
    Dec 07, 2010 @ 13:29


    Hello Sascha

    That's what I do it hehe: D
    just wanted to make sure I was doing the right thing.
Please Sign in or register to post replies

Write your reply to: