Skip to content

Text Editor Configuration

In Editor, we are using TinyMCE text editor. You can check TinyMCE documentation here.

You can extend our default configuration by adding your own configuration using:

js
tinyConfig: {
  your_own_config_value: "value";
}

Examples

Tools in the Text Editor Toolbar

Using the toolbar property, you can specify which tools should be visible in the text editor toolbar. Our default configuration would look like this:

js
tinyConfig: {
   toolbar:
      "blocks fontfamily fontsizeinput bold italic underline " +
      "strikethrough removeformat nonbreaking | " + 
      "alignleft aligncenter alignright alignjustify link " +
      "numlist bullist forecolor backcolor mergefields emoticons code more",
}

Using this option you can provide a structured list of links, you can then access these links in a dropdown menu while adding new link.

You can get more info from official documentation here.