Posted by mirian on November 8, 2011 at 8:05am
Hello,
I want to custom the editor , in my case choosing the buttons for different content types. means some buttons on specific node type forms and some other buttons on comment forms.
Any way to do it??? (I'm using Drupal 7 with Wyseig module and CKeditor)
Thanks!!!
Miriam
Comments
You need to create a Text
You need to create a Text format for each different combination of HTML tags you want to allow and then also a WYSIWYG profile for each. For the Text format you can also limit what tags are allowed and how to treat those a user tries to use that is not allowed.
The problem though is that Drupal Core out-of-the-box is not giving you enough control over this. If the same user are able to use several text formats, they can then switch between them at every place they can use one of them. To be able to control this, you need http://drupal.org/project/better_formats that gives you fine grained control over what formats can be used on field level.
--
/thomas
T: @tsvenson | S: tsvenson.com
Thank you very much!!! it's
Thank you very much!!!
it's working (although I'm using the dev version for drupal 7 for better_formats).