[opencms-dev] cut and paste

simone.bortolaso at libero.it simone.bortolaso at libero.it
Wed Jan 12 11:59:36 CET 2005


hi all, 
the cut and paste into the WYSIWYG Editor  from Word Document
produce a lot of source other than displayed.
Infact when  i tourn the editor into SourceCode Editor i see many format(CSS) caracters(show example).

In my template i has already a format style sheet class and the paste code will be like example 2:

Can anybody help me to built a parser function?
Thank in advance Simone Bortolaso


Example:

    FROM MY.DOC in WYSIWYG Editor  
   --------------------------------------         
   examples
   examples
   examples         
   examples 
   examples
   examples
   --------------------------------------

  IN MY source Code editor
 
   --------------------------------------
<![CDATA[

<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">Examples <SPAN 
style="mso-spacerun: yes"> </SPAN>Examples </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">Examples </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">Examples </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">Examples </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">Examples </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">Examples </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p> </o:p></P>]]>
 -----------------------------------------


Example 2:

  IN MY source Code editor
 
   --------------------------------------
<![CDATA[

Examples <br>
Examples <br>
Examples <br>
Examples <br>
Examples <br>
Examples <br>
.................................................
]]>
 -----------------------------------------





____________________________________________________________
Libero ADSL: 3 mesi gratis e navighi a 1.2 Mega. E poi hai l'Adsl senza limiti a meno di 1 euro al giorno. 
Abbonati subito senza costi di attivazione su http://www.libero.it






More information about the opencms-dev mailing list