I'm working on an intranet project and one of the requirement is to be able to restrict users so that they can use only a specific font size e.g it could be Normal text but just font sizes between 10 nd 16 only.

Also not to be able to choose colors (Both font color and Highlighted color). Force them to only use black font color.

Are there any other custom text editor webpart that can be used and is it possible to remove the options above?

1 Answer 1


Unfortunately, it is not possible to remove the web part settings/options from SharePoint out of the box "Text" web part.

You can develop your own custom web part using SharePoint framework (SPFx). Check below links for more information:

  1. Overview of the SharePoint Framework

  2. Build your first SharePoint SPFx client-side web part

  3. Tab Accordion Web Part with Property Field Collection Data and tinyMCE for Rich Text Editing - refer code in this web part sample where they are using tinyMCE library for rich text editing:

    enter image description here


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.