- Posts: 295
COMMUNITY FORUM
remove Style Definitions from word
- stavroch
-
Topic Author
- Offline
- Elite Member
Less
More
12 years 2 weeks ago #113228
by stavroch
remove Style Definitions from word was created by stavroch
I have clean up all the tags from k2 properties.
But I can see that word has some html elements which is not cleaned up from k2.
As the
But I can see that word has some html elements which is not cleaned up from k2.
As the
<![endif]--><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman","serif";}
</style>
<![endif]-->
Please Log in or Create an account to join the conversation.
- Franz Wohlkönig
-
- Offline
- Platinum Member
Less
More
- Posts: 529
12 years 1 week ago #113229
by Franz Wohlkönig
Replied by Franz Wohlkönig on topic Re: remove Style Definitions from word
Hi,
i copy the text to textedit or notepad, select all and copy it to the article.
Greeting
Franz
i copy the text to textedit or notepad, select all and copy it to the article.
Greeting
Franz
Please Log in or Create an account to join the conversation.
- Majdy
-
- Offline
- Junior Member
Less
More
- Posts: 25
12 years 1 week ago #113230
by Majdy
use jce editor and cleaning the word by the eraser button
Replied by Majdy on topic Re: remove Style Definitions from word
stavros wrote: I have clean up all the tags from k2 properties.
But I can see that word has some html elements which is not cleaned up from k2.
As the
<![endif]--><!--[if gte mso 10]> <style> /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman","serif";} </style> <![endif]-->
use jce editor and cleaning the word by the eraser button
Please Log in or Create an account to join the conversation.
- Franz Wohlkönig
-
- Offline
- Platinum Member
Less
More
- Posts: 529
12 years 1 week ago #113231
by Franz Wohlkönig
Replied by Franz Wohlkönig on topic Re: remove Style Definitions from word
Hy,
My Experience with JCE: In Sourcecode stays div- an other unnecessary tags. Maybe dependeing on JCE-options (havent found). So its an easier Way for me to get clean Sourcecode via Copy&Paste.
Greeting
Franz
My Experience with JCE: In Sourcecode stays div- an other unnecessary tags. Maybe dependeing on JCE-options (havent found). So its an easier Way for me to get clean Sourcecode via Copy&Paste.
Greeting
Franz
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
12 years 1 week ago #113232
by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: remove Style Definitions from word
Hello Franz,
You should use paste from Word in JCE editor. It will strip all this code by itself.
You should use paste from Word in JCE editor. It will strip all this code by itself.
Please Log in or Create an account to join the conversation.
- Franz Wohlkönig
-
- Offline
- Platinum Member
Less
More
- Posts: 529
12 years 1 week ago #113233
by Franz Wohlkönig
Replied by Franz Wohlkönig on topic Re: remove Style Definitions from word
Hi Krikor,
thanks for yout Tipp. I tested "paste from Word in JCE editor" by copy Text from a PDF-document. It works find, but the closing <p> becomes a </ br>.
I'm working in Chrome, cause this Browser give me an closing </p>, unlike e.g. Firefox, who changes also to </ br>.
So for me the Roundtrip by TextEdit (or Notepad fpr Windows) ist easier.
But I will try the paste from Word in JCE editor-Solution, when i get a Word or LibreOffice-Document to work on.
Greeting
Franz
thanks for yout Tipp. I tested "paste from Word in JCE editor" by copy Text from a PDF-document. It works find, but the closing <p> becomes a </ br>.
I'm working in Chrome, cause this Browser give me an closing </p>, unlike e.g. Firefox, who changes also to </ br>.
So for me the Roundtrip by TextEdit (or Notepad fpr Windows) ist easier.
But I will try the paste from Word in JCE editor-Solution, when i get a Word or LibreOffice-Document to work on.
Greeting
Franz
Please Log in or Create an account to join the conversation.