| Author |
Message |
Marc
Guest
|
Posted:
Fri Jan 14, 2005 8:25 pm Post subject:
Bad HMTL from Word 2002 paste |
|
|
When our content author either drag/drop or cut/paste from word (2002) she is
getting a behaviour where style tags in the underlying HTML are conflicting
with the placholder's ability ot change fonts etc... Looks like there is a
lot of MS specific tags going on here much like the stuff that got generated
out of old school frontpage. So, how do we prevent that from coming over or
make it so that she can format the content with the placeholder controls?
Would using Word 2003 help this at all?
P.S. The placeholder control has full controls turned on for formatting as
well as html editing available. |
|
| Back to top |
|
 |
Stefan [MSFT]
Guest
|
Posted:
Fri Jan 14, 2005 9:03 pm Post subject:
Re: Bad HMTL from Word 2002 paste |
|
|
Hi Marc,
this is a common question.
Either implement a custom placeholder control that strips out these tags or
implement a workflow event which does the job for you.
Here is a sample you could use or customize:
http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=5B9F3F0F-B5AF-4209-915F-B47D4C58230F
Cheers,
Stefan.
"Marc" <Marc@discussions.microsoft.com> wrote in message
news:52013FDA-7560-4515-86DC-606BE4E0AF44@microsoft.com...
| Quote: | When our content author either drag/drop or cut/paste from word (2002) she
is
getting a behaviour where style tags in the underlying HTML are
conflicting
with the placholder's ability ot change fonts etc... Looks like there is
a
lot of MS specific tags going on here much like the stuff that got
generated
out of old school frontpage. So, how do we prevent that from coming over
or
make it so that she can format the content with the placeholder controls?
Would using Word 2003 help this at all?
P.S. The placeholder control has full controls turned on for formatting
as
well as html editing available. |
|
|
| Back to top |
|
 |
Marc
Guest
|
Posted:
Fri Jan 14, 2005 9:37 pm Post subject:
Re: Bad HMTL from Word 2002 paste |
|
|
Stefan,
Thanks for the link here. If I use this to replace a placeholder in a
template that has been used for content already is that content going to be
lost?
"Stefan [MSFT]" wrote:
| Quote: | Hi Marc,
this is a common question.
Either implement a custom placeholder control that strips out these tags or
implement a workflow event which does the job for you.
Here is a sample you could use or customize:
http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=5B9F3F0F-B5AF-4209-915F-B47D4C58230F
Cheers,
Stefan.
"Marc" <Marc@discussions.microsoft.com> wrote in message
news:52013FDA-7560-4515-86DC-606BE4E0AF44@microsoft.com...
When our content author either drag/drop or cut/paste from word (2002) she
is
getting a behaviour where style tags in the underlying HTML are
conflicting
with the placholder's ability ot change fonts etc... Looks like there is
a
lot of MS specific tags going on here much like the stuff that got
generated
out of old school frontpage. So, how do we prevent that from coming over
or
make it so that she can format the content with the placeholder controls?
Would using Word 2003 help this at all?
P.S. The placeholder control has full controls turned on for formatting
as
well as html editing available.
|
|
|
| Back to top |
|
 |
Stefan [MSFT]
Guest
|
Posted:
Fri Jan 14, 2005 10:24 pm Post subject:
Re: Bad HMTL from Word 2002 paste |
|
|
Hi Marc,
this is only a placeholder control. Not a placeholder.
The placeholder control is only the rendering engine. The content is stored
in the underlaying placeholder.
So nothing is changed till you save the content another time. Then the
additional tags will be removed.
Cheers,
Stefan.
"Marc" <Marc@discussions.microsoft.com> wrote in message
news:2878DF23-63FF-415D-96E0-9B3FFD45CD8B@microsoft.com...
| Quote: | Stefan,
Thanks for the link here. If I use this to replace a placeholder in a
template that has been used for content already is that content going to
be
lost?
"Stefan [MSFT]" wrote:
Hi Marc,
this is a common question.
Either implement a custom placeholder control that strips out these tags
or
implement a workflow event which does the job for you.
Here is a sample you could use or customize:
http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=5B9F3F0F-B5AF-4209-915F-B47D4C58230F
Cheers,
Stefan.
"Marc" <Marc@discussions.microsoft.com> wrote in message
news:52013FDA-7560-4515-86DC-606BE4E0AF44@microsoft.com...
When our content author either drag/drop or cut/paste from word (2002)
she
is
getting a behaviour where style tags in the underlying HTML are
conflicting
with the placholder's ability ot change fonts etc... Looks like there
is
a
lot of MS specific tags going on here much like the stuff that got
generated
out of old school frontpage. So, how do we prevent that from coming
over
or
make it so that she can format the content with the placeholder
controls?
Would using Word 2003 help this at all?
P.S. The placeholder control has full controls turned on for
formatting
as
well as html editing available.
|
|
|
| Back to top |
|
 |
Marc
Guest
|
Posted:
Sat Jan 15, 2005 2:11 am Post subject:
Re: Bad HMTL from Word 2002 paste |
|
|
That's what I thought the behaviour was but thought I would check before
plowing through our templates :)
"Stefan [MSFT]" wrote:
| Quote: | Hi Marc,
this is only a placeholder control. Not a placeholder.
The placeholder control is only the rendering engine. The content is stored
in the underlaying placeholder.
So nothing is changed till you save the content another time. Then the
additional tags will be removed.
Cheers,
Stefan.
"Marc" <Marc@discussions.microsoft.com> wrote in message
news:2878DF23-63FF-415D-96E0-9B3FFD45CD8B@microsoft.com...
Stefan,
Thanks for the link here. If I use this to replace a placeholder in a
template that has been used for content already is that content going to
be
lost?
"Stefan [MSFT]" wrote:
Hi Marc,
this is a common question.
Either implement a custom placeholder control that strips out these tags
or
implement a workflow event which does the job for you.
Here is a sample you could use or customize:
http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=5B9F3F0F-B5AF-4209-915F-B47D4C58230F
Cheers,
Stefan.
"Marc" <Marc@discussions.microsoft.com> wrote in message
news:52013FDA-7560-4515-86DC-606BE4E0AF44@microsoft.com...
When our content author either drag/drop or cut/paste from word (2002)
she
is
getting a behaviour where style tags in the underlying HTML are
conflicting
with the placholder's ability ot change fonts etc... Looks like there
is
a
lot of MS specific tags going on here much like the stuff that got
generated
out of old school frontpage. So, how do we prevent that from coming
over
or
make it so that she can format the content with the placeholder
controls?
Would using Word 2003 help this at all?
P.S. The placeholder control has full controls turned on for
formatting
as
well as html editing available.
|
|
|
| Back to top |
|
 |
|
|
|
|