Jump to content
Дизайн и модификация IPS Community IPBSkinsBETA
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Атаман

форматирование радктора IPS4

Recommended Posts

Добрый! По умолчанию откл форматирование редактора, а можно как-то включить для определенных групп ?

Share this post


Link to post

А как по умолчанию он отключается?

Share this post


Link to post

Можно как-то в коде группам права выдать ?

Share this post


Link to post

Добавить в самом начале шаблона global -> forms -> editorRaw

{{settings.editor_paste_behaviour = (settings.editor_paste_behaviour != 'rich' AND member.inGroup( array(2,3) ) ) ? 'rich' : settings.editor_paste_behaviour;}}

2,3 - ид групп через запятую кому включить

  • Upvote 1

Share this post


Link to post
11 часов назад, siv1987 сказал:

Добавить в самом начале шаблона global -> forms -> editorRaw


{{settings.editor_paste_behaviour = (settings.editor_paste_behaviour != 'rich' AND member.inGroup( array(2,3) ) ) ? 'rich' : settings.editor_paste_behaviour;}}

2,3 - ид групп через запятую кому включить

Спасибо!

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...