<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Ok, well since word drops in all kinds of wierd html when pasting and
it's such a common way for nonhtml people to work, do you (or someone
else) already have a list of html to strip out for word specifically?
And where do you configure that?<br>
<br>
on another note: TinyMCE has a paste from word button you can show, and
I believe if you train users to use that icon instead of the normal
paste it will paste in plain text instead of word's formatted text. In
your experience does that button work well?<br>
<br>
Metzler, David wrote:
<blockquote
cite="mid:25C3492D5925964585F542C770231C120262BD8C@oak.evergreen.edu"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta content="MSHTML 6.00.2900.2180" name="GENERATOR">
<div dir="ltr" align="left"><span class="588180715-20082007"><font
color="#0000ff" face="Arial" size="2">Didn't mean TinyMCE has tags,
but rather that you can build filters into TinyMCE. So that the HTML
that you're worried not having on your site is not only not displayed,
but also not stored in the database. </font></span></div>
<div dir="ltr" align="left"><span class="588180715-20082007"></span> </div>
<div dir="ltr" align="left"><span class="588180715-20082007"><font
color="#0000ff" face="Arial" size="2">Let me try and rephrase....</font></span></div>
<div dir="ltr" align="left"><span class="588180715-20082007"></span> </div>
<div dir="ltr" align="left"><span class="588180715-20082007"><font
color="#0000ff" face="Arial" size="2"><font color="#000000"
face="Times New Roman" size="3">"</font><span><font color="#0000ff"
face="Arial" size="2">SO if you're doing a bunch of pasting from Word,
it will still leave any weird word generated tags in the HTML that gets
stored in Drupal, even if you have them filtered out by a drupal input
filter. This only bothers you when you turn off the editor, or if you
have some other process trying to get at the data that doesn't properly
use the filters. </font></span></font></span></div>
<div dir="ltr" align="left"><span class="588180715-20082007"><font
color="#0000ff" face="Arial" size="2"><span></span></font></span> </div>
<div dir="ltr" align="left"><span class="588180715-20082007"><font
color="#0000ff" face="Arial" size="2"><span><font color="#0000ff"
face="Arial" size="2">You can also configure TinyMCE to filter tags,
but these filters can only be set by implementing a special function in
your theme, and can't be set via a configuration page. If you filter
the tags out with TinyMCE as well, tags you don't want users entering
won't be stored in the database either. </font></span></font></span></div>
<div dir="ltr" align="left"><span class="588180715-20082007"><font
color="#0000ff" face="Arial" size="2"><span></span></font></span> </div>
<div dir="ltr" align="left"><span class="588180715-20082007"><font
color="#0000ff" face="Arial" size="2"><span>Hope that makes more
sense. </span></font></span></div>
<div dir="ltr" align="left"><span class="588180715-20082007"> </span></div>
<div dir="ltr" align="left">
<hr tabindex="-1"></div>
<div dir="ltr" align="left"><font face="Tahoma" size="2"><b>From:</b>
<a class="moz-txt-link-abbreviated" href="mailto:support-bounces@drupal.org">support-bounces@drupal.org</a> [<a class="moz-txt-link-freetext" href="mailto:support-bounces@drupal.org">mailto:support-bounces@drupal.org</a>] <b>On
Behalf Of </b>Jean Gazis<br>
<b>Sent:</b> Friday, August 17, 2007 10:30 PM<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:support@drupal.org">support@drupal.org</a><br>
<b>Subject:</b> Re: [support] different TinyMCE problems<br>
</font><br>
</div>
Well, I'm not pasting form Word (I hate Word) but I don't understand
this: "<span><font color="#0000ff" face="Arial" size="2">SO if you're
doing a bunch of pasting from Word, it will still leave the tags in the
HTML that gets stored in Drupal. This only bothers you when you turn
off the editor, or if you have some other process trying to get at the
data. TinyMCE tag filters can only be set by implementing a special
function in your theme. "<br>
<br>
How do I know what the tiny MCE tags are? I just see some HTML tags. <br>
<br>
Jean<br>
</font></span><br>
<div><span class="gmail_quote">On 8/17/07, <b
class="gmail_sendername">Metzler, David </b><<a
moz-do-not-send="true" href="mailto:metzlerd@evergreen.edu">metzlerd@evergreen.edu</a>>
wrote:</span>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial"
size="2">An important thing to note: Changing the default filter does
<strong>not</strong> <strong>change any content</strong>. If
you're changing the input formats from FilteredHTML to Full HTML, and
you had previously created a node as "Filtered HTML" changing the
default won't change the original nodes input format. You must have
administer filters privilege and change the input format on <strong>each
node</strong>. If you instead edit the allowed tag list for the
"Filtered HTML" input format, then you don't have to update each node.
Hope that makes sense. </font></span></div>
<div dir="ltr" align="left"><span></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial"
size="2">Correspondingly, unless you're using "Filter Defaults" or
some other module that alters this. Drupal out of the can does not
support Content Type specific filters. The input formats are set on a
per node basis. </font></span></div>
<div dir="ltr" align="left"><span></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial"
size="2">FYI: I have configured TinyMCE to filter out html tags as
well in some cases. Input formats filter out HTML on display and not
input. SO if you're doing a bunch of pasting from Word, it will still
leave the tags in the HTML that gets stored in Drupal. This only
bothers you when you turn off the editor, or if you have some other
process trying to get at the data. TinyMCE tag filters can only be set
by implementing a special function in your theme. There's no place to
"configure" this in the DB. </font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial"
size="2"><br>
Dave</font></span></div>
<div dir="ltr" align="left"><span></span> </div>
<div dir="ltr" align="left" lang="en-us"><span></span> </div>
<div dir="ltr" align="left" lang="en-us">
<hr> </div>
<div dir="ltr" align="left" lang="en-us"><font face="Tahoma"
size="2"><b>From:</b> <a moz-do-not-send="true"
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:support-bounces@drupal.org" target="_blank">support-bounces@drupal.org
</a>[mailto:<a moz-do-not-send="true"
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:support-bounces@drupal.org" target="_blank">support-bounces@drupal.org</a>]
<b>On Behalf Of </b>sander-martijn<br>
<b>Sent:</b> Thursday, August 16, 2007 2:17 PM</font>
<div><span class="e" id="q_1147600958d3a396_1"><font face="Tahoma"
size="2"><br>
<b>To:</b> <a moz-do-not-send="true"
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:support@drupal.org" target="_blank">support@drupal.org </a><br>
<b>Subject:</b> Re: [support] different TinyMCE problems<br>
</font></span></div>
<br>
</div>
<div><span class="e" id="q_1147600958d3a396_3"> I've always thought
the opposite of TinyMCE (or any wysiwyg editor). It's not necessarily
to restrict your users from using html but more to remove the
requirement of knowing html. <br>
<br>
However I do think you can get what you want: I think that if you turn
on full html globally but turn off the option for users to select,
require TinyMCE (also can be done globally I believe) and don't include
the html button in the TinyMCE editor, then TinyMCE will be able to
write all the html it needs to (restricting html will restrict it from
TinyMCE as well - this is because TinyMCE is merely a front-end mask to
what's really happening) while the user will never be able to see or
edit it. <br>
<br>
Jean Gazis wrote:
<blockquote
cite="http://mid90f7ebd10708161400j71e907fcp151f39b92ee7c63a@mail.gmail.com"
type="cite">If <ul> and <li> are enabled, shouldn't the
bulleted list format button work? I don't see where to associate the
input format with a content type. I don't want to give all users full
HTML, that's the whole point of installing TinyMCE. If I turn off line
breaks in my default format, won't it mess up my other content types? I
think that was why I turned them on. And TinyMCE worked or works
sometimes with the default input format as is. I feel like I am just
being dense. <br>
<br>
<div><span class="gmail_quote">On 8/16/07, <b
class="gmail_sendername">Metzler, David</b> <<a
moz-do-not-send="true"
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:metzlerd@evergreen.edu" target="_blank">metzlerd@evergreen.edu</a>>
wrote:</span>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div dir="ltr" align="left"><span><font color="#0000ff"
face="Arial" size="2">Yes as sara has indicated. You can change the
defaults at </font></span></div>
<div dir="ltr" align="left"><span></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff"
face="Arial" size="2">Administer -> Site Configuration -> Input
Formats. </font></span></div>
<div dir="ltr" align="left"><span></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff"
face="Arial" size="2">If you "Configure" the default format. Then
select the Configure tab, you'll be able to set which tags are
allowed. The default set is </font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff"
face="Arial" size="2"><a> <em> <strong> <cite>
<code> <ul> <ol> <li> <dl> <dt>
<dd></font></span></div>
<div dir="ltr" align="left"><span></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff"
face="Arial" size="2">When you enable tinymce you might also consider
turning off the "line break converter" on this screen as well. </font></span></div>
<div dir="ltr" align="left"><span></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff"
face="Arial" size="2">Dave</font></span></div>
<br>
<div dir="ltr" align="left" lang="en-us">
<hr> <font face="Tahoma" size="2"><b>From:</b> <a
moz-do-not-send="true"
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:support-bounces@drupal.org" target="_blank">support-bounces@drupal.org</a>
[mailto:<a moz-do-not-send="true"
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:support-bounces@drupal.org" target="_blank">
support-bounces@drupal.org</a>] <b>On Behalf Of </b>Jean Gazis<br>
<b>Sent:</b> Thursday, August 16, 2007 12:48 PM<br>
<b>To:</b> <a moz-do-not-send="true"
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:support@drupal.org" target="_blank">support@drupal.org</a><br>
<b>Subject:</b> Re: [support] different TinyMCE problems<br>
</font><br>
</div>
<div><span>I don't want the users to have to select input
formats, I want them to be set for the content type or field type. Is
that possible?<br>
<br>
<div><span class="gmail_quote">On 8/16/07, <b
class="gmail_sendername">Sarah Adams </b><<a moz-do-not-send="true"
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:mr.sanders@geekjock.ca" target="_blank">mr.sanders@geekjock.ca</a>>
wrote:</span>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">>
I installed it, set up roles etc. It seemed to work fine with the first<br>
> custom content type. A few days later, it does not. In between I<br>
> installed Views and Viewfield, and created a new content type.<br>
><br>
> What I'm getting is, instead of formatted text, e.g. bulleted
list, it<br>
> just puts <br> or <div> between the items and removes
the line breaks,<br>
> like this:<br>
><br>
> "vegetable<br /> fruit<br /> vegetable<br />
fruit<br /> fruit<br /> <br>
> vegetable<br /> veggie<br /> fruit <br /> veg"<br>
><br>
> I'm sure this is some stupid thing I could figure out somehow, but
I<br>
> can't figure out where to start.<br>
<br>
You probably have the content set to use filtered html instead of full <br>
html. You can update this on a content item basis by clicking on input<br>
formats just below the TinyMCE editor, or site-wide by going to admin
><br>
site config > input formats.<br>
<br>
HTH!<br>
<br>
--<br>
sarah adams <br>
web developer & programmer<br>
portfolio: <a moz-do-not-send="true"
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://sarah.designshift.com" target="_blank">http://sarah.designshift.com</a><br>
blog: <a moz-do-not-send="true"
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://hardedge.ca" target="_blank">http://hardedge.ca</a><br>
--<br>
[ Drupal support list | <a moz-do-not-send="true"
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a>
]<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Jean Gazis<br>
<a moz-do-not-send="true"
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.jeangazis.com" target="_blank">www.jeangazis.com</a><br>
<a moz-do-not-send="true"
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.boxofrain.us" target="_blank">www.boxofrain.us</a><br>
<br>
"Believe those who are seeking the truth; doubt those who find it." -
André Gide </span></div>
</div>
<br>
--<br>
[ Drupal support list | <a moz-do-not-send="true"
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a>
]<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Jean Gazis<br>
<a moz-do-not-send="true"
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.jeangazis.com" target="_blank">www.jeangazis.com</a><br>
<a moz-do-not-send="true"
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.boxofrain.us" target="_blank">www.boxofrain.us</a><br>
<br>
"Believe those who are seeking the truth; doubt those who find it." -
André Gide </blockquote>
<br>
<div>-- <br>
<hr align="center" noshade="noshade" size="1" width="100%">
<p
style="font-weight: normal; font-size: 10px; text-transform: lowercase; color: rgb(51, 51, 51); font-style: normal; font-family: verdana,arial,helvetica,sans-serif; text-align: center;"><a
moz-do-not-send="true"
style="color: rgb(0, 0, 255); font-family: verdana,arial,helvetica,sans-serif; text-decoration: none;"
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:sander@sander-martijn.com" target="_blank">sander-martijn</a><br>
interface developer | architect<br>
<a moz-do-not-send="true"
style="color: rgb(0, 0, 255); font-family: verdana,arial,helvetica,sans-serif; text-decoration: none;"
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:sander@sander-martijn.com" target="_blank">sander@sander-martijn.com</a><br>
<a moz-do-not-send="true"
style="color: rgb(0, 0, 255); font-family: verdana,arial,helvetica,sans-serif; text-decoration: none;"
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.sander-martijn.com" target="_blank">www.sander-martijn.com</a>
</p>
<hr align="center" noshade="noshade" size="1" width="100%"> </div>
</span></div>
</div>
<br>
--<br>
[ Drupal support list | <a moz-do-not-send="true"
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a>
]<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Jean Gazis<br>
<a moz-do-not-send="true" href="http://www.jeangazis.com">www.jeangazis.com</a><br>
<a moz-do-not-send="true" href="http://www.boxofrain.us">www.boxofrain.us</a><br>
<br>
"Believe those who are seeking the truth; doubt those who find it." -
André Gide </blockquote>
<br>
<div class="moz-signature">-- <br>
<hr align="center" noshade="noshade" size="1" width="100%">
<p
style="text-align: center; font-family: verdana,arial,helvetica,sans-serif; color: rgb(51, 51, 51); font-size: 10px; text-transform: lowercase; font-style: normal; font-weight: normal;"><a
href="mailto:sander@sander-martijn.com"
style="text-decoration: none; color: rgb(0, 0, 255); font-family: verdana,arial,helvetica,sans-serif;">sander-martijn</a><br>
interface developer | architect<br>
<a href="mailto:sander@sander-martijn.com"
style="text-decoration: none; color: rgb(0, 0, 255); font-family: verdana,arial,helvetica,sans-serif;">sander@sander-martijn.com</a><br>
<a href="http://www.sander-martijn.com"
style="text-decoration: none; color: rgb(0, 0, 255); font-family: verdana,arial,helvetica,sans-serif;">www.sander-martijn.com</a>
</p>
<hr align="center" noshade="noshade" size="1" width="100%"></div>
</body>
</html>