开发者

Showing Different Modes of Editor According to User Roles

开发者 https://www.devze.com 2023-03-18 12:32 出处:网络
Is there any way that I can show different modes of an editor (minimal, full, etc.) to users according to their roles? It\'s do开发者_如何学Goesn\'t make difference for me to use Rad Editor or Ckedito

Is there any way that I can show different modes of an editor (minimal, full, etc.) to users according to their roles? It's do开发者_如何学Goesn't make difference for me to use Rad Editor or Ckeditor.


From the default providers, only FCKEditor supports customizing the toolbar by role. With Rad Editor, you can use dnnWerk RadEditor Provider.

Instructions for FCKEditor (from seablick.com)

  1. Define toolbars in \Providers\HtmlEditorProviders\Fck\Custom\fckconfig.js

  2. Open the custom editor options popup

    Showing Different Modes of Editor According to User Roles

  3. Select settings type (Instance/Module/Portal)

  4. Set toolbar visibility for different roles

  5. Apply the custom settings to Instance/Module/Portal. (Default value is the same as the "Settings type", but I'm not sure if these settings have different effects, or is it only the "Apply to" dropdown that counts.)

Showing Different Modes of Editor According to User Roles

See also

Customizing FCKeditor Toolbars

0

精彩评论

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

关注公众号