tinymce / tinymce-blazor

Blazor integration
MIT License
45 stars 14 forks source link

Customize header text/Remove menu (only leave Toolbar) #4

Closed zabronm closed 3 years ago

zabronm commented 3 years ago

Hi guys thank you for the component

How do we archive the following:

  1. Remove the menu bar and only leave Toolbar (with same functions as on the menu bar)?
  2. Remove or customize the header text ("Here the editor")

Thank you.

jscasca commented 3 years ago

Hi @zabronm,

What version are you using? The 'Here...' thing shouldn't be in the official package.

To remove the menu bar you can set the menubar property to false in the wrapper. For example:

<Tinymce.Blazor.Editor
  menubar=false
  toolbar="<your_custom_toolbar_buttons>" />

To create the toolbar you want you might have to create your own dropdown menus. Here you can find a list of the default menu options: Basic Setup

Let me know if this helps