开发者

how to disable WYSIWYG for the body on certain content types on Drupal?

开发者 https://www.devze.com 2023-02-21 00:20 出处:网络
Is there any way to specify that the WYSI开发者_开发问答WYG wil not load for certain content types (I\'m interested mainly in the body content) but it wouldn\'t hurt to apply this to the CCK content a

Is there any way to specify that the WYSI开发者_开发问答WYG wil not load for certain content types (I'm interested mainly in the body content) but it wouldn't hurt to apply this to the CCK content as well..


If you are using CK editor then go to

/admin/settings/ckeditor/edit/Default

to change the setting for the default profile, under visibility settings select include and enter the text aread ids for which you want the editor to be enabled.

And as the blog help says entering

  • blog@*.edit-body - matches all fields of type "blog" called edit-body, on any page.
  • node/add/.edit-user- - matches fields starting with "edit-user-" on pages starting with "node/add/
0

精彩评论

暂无评论...
验证码 换一张
取 消