Documentation

Format

Type: Array

Default: array

By default, the following array is set in the formatting popup for blocks tags:

['p', 'h1', 'h2', 'h3', 'ul', 'ol']

You can specify additional tags for popup from the next set:

  • h4
  • h5
  • h6
  • dl
  • address
  • div (for text blocks)
ArticleEditor('#entry', {
    css: '/your-article-dist-path/',
    format: ['p', 'h1', 'h2', 'h3', 'h4', 'ul', 'ol', 'address']
});

Or take out what's unnecessary and add what's needed:

ArticleEditor('#entry', {
    css: '/your-article-dist-path/',
    format: ['p', 'h3', 'h4', 'address']
});

Of course you can change the order of popup items like this:

ArticleEditor('#entry', {
    css: '/your-article-dist-path/',
    format: ['p', 'ul', 'ol', 'h1', 'h2', 'h3']
});