How to restrict iframe inserting the tags after formatting was done

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • malathib
    New Member
    • Mar 2009
    • 23

    How to restrict iframe inserting the tags after formatting was done

    Hi,

    I am facing a problem in using iframes.

    For example..<h2><f ont color="blue"><s pan class="article-title">Translat ion</span></font></h2><span class="subtitle ">Malathi is a name</span>

    if i am selecting the part "Translatio n Malathi" and applying any formatting (for suppose center align) to that then after saving, it is inserting extra tags as follows so that the entire text in <span class="subtitle "> is also getting changed according to teh formattings given to the translation text.

    here is how it is changing


    <font color="blue"><s pan class="article-title"><span style="text-align:center">< h2><font color="blue"><s pan class="article-title">Translat ion</span></font></h2><span class="subtitle ">Malathi is a name</span></span></span></font><span class="subtitle ">2</span>

    How can i restrict this.
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Why don't you keep it simply WYSIWYG and have a button to display the HTML source?

    Comment

    Working...