AW: [opencms-dev] cut and paste
Michael Emmerich
m.emmerich at alkacon.com
Wed Jan 12 12:12:53 CET 2005
In OpenCms 6 (Alpha 3) there is a new function in the Editor (WYSIWYG &
Source Code) to clean up a Document to get rid of all those tags which
appear when you copy&paste from word.
The new function (Cleanup HTML Code) can be found in the top row of the
function buttons.
Regards,
Michael Emmerich
Alkacon Software - The OpenCms Experts
http://www.alkacon.com
-----Ursprüngliche Nachricht-----
Von: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] Im Auftrag von
simone.bortolaso at libero.it
Gesendet: Mittwoch, 12. Januar 2005 12:00
An: opencms-dev
Betreff: [opencms-dev] cut and paste
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
_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list