Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8675053
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T19:51:17+00:00 2026-06-12T19:51:17+00:00

there’s no information about how to have user groups use different tinymce configurations in

  • 0

there’s no information about how to have user groups use different tinymce configurations in the docs for silverstripe 3.0 (yet), and although you can find some information in the docs for 2.4, it doesn’t really help either: http://doc.silverstripe.org/framework/en/topics/rich-text-editing#security-groups-with-their-own-editor-configuration

so how do you apply a different tinymce configuration for some user group?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T19:51:18+00:00Added an answer on June 12, 2026 at 7:51 pm

    most of what’s required is to be found in this forum thread: http://www.silverstripe.org/general-questions/show/11434

    so, basically you have to define your new tinymce configuration like so (inside your _config.php):

    $cfg = HtmlEditorConfig::get('authors');
    $cfg->setOptions(array(
        'friendly_name' => 'Restricted',
        'priority' => 1, //required, see forum thread
        'theme_advanced_blockformats' => 'p,h3'
    ));
    

    this configuration will be picked up by the cms an is then available inside the ‘Security’ section (see on on top of the ‘Permissions’ tab for a selected group).

    that’s already nice, but you’ll notice that some important features are missing in the newly configured tinymce instances then, most notably the buttons for ‘insert image’ and ‘insert link’. that’s because lots of the default configuration for the standard ‘cms’ config aren’t actually HtmlEditorConfig ‘defaults’ but instead defined inside /framework/admin/_config.php.

    simplest solution to keep the ‘default’ behaviour i found is to add the following right before the preceding code block:

    HtmlEditorConfig::$configs['authors'] = clone HtmlEditorConfig::get('cms');
    

    this will make sure you got all the basic functionality available in your new ‘Restricted’ configuration.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

There is some contradiction in the api documentation: on one location: https://developer.foursquare.com/docs/responses/user on another
There is an user model and an account model. An user can have many
There's a Rails 3.2.3 web application which doesn't use any database. But in spite
There are nice SO question and answers about this issue, but these options didn't
There was a similar question posted asking in general about alternatives to Qt. Well,
There's a few previous questions on StackOverflow questioning how one goes about accessing local
There is a website called Gild.com that has different coding puzzles/challenges for users to
There is this strange situation I'm fighting on. I have 3 pages, les call
There's a thrird party app that needs to get information via custom http headers,
There are are 150 000 records in my comments table and about 1000 new

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.