On 8/17/07, Jean Gazis jgazis@gmail.com wrote:
Well, those are similar things: I don't want them to use it *because* they probably don't know it. Frustrated users = not good, and bad html also = not good. I see on Drupal.org that a lot of people wish for the ability to associate input formats with content types, so maybe it will get into a future version. Meanwhile I will use the below and roles to hopefully give the users just as much as they need and not more.
You could try the Default Filter module. (I haven't, just stumbled on it)
http://drupal.org/project/default_filter quote: "This module allows you to set default filter formats per node type per role"
On 8/16/07, sander-martijn sander@sander-martijn.com wrote:
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.
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.
Jean Gazis wrote: 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.
On 8/16/07, Metzler, David <metzlerd@evergreen.edu > wrote:
Yes as sara has indicated. You can change the defaults at
Administer -> Site Configuration -> Input Formats.
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
<a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
When you enable tinymce you might also consider turning off the "line
break converter" on this screen as well.
Dave