<?php

add_filter('tiny_mce_before_init', 'init');
add_filter('mce_buttons_2', 'add_style_button');

function add_style_button($buttons)
{
    array_unshift($buttons, 'styleselect');
    return $buttons;
}

function init($settings)
{
    $style_formats = [
    [
      'title' => 'No quotes',
      'block' => 'blockquote',
      'classes' => 'noquotes',
      'wrapper' => true
    ],
    [
      'title' => 'Highlight',
      'block' => 'div',
      'classes' => 'highlight',
      'wrapper' => true
    ]
  ];

    $settings['style_formats'] = json_encode($style_formats);

    return $settings;
}

<?php

add_filter('tiny_mce_before_init', 'init');
add_filter('mce_buttons_2', 'add_style_button');

function add_style_button($buttons)
{
    array_unshift($buttons, 'styleselect');
    return $buttons;
}

function init($settings)
{
    $style_formats = [
        [
          'title' => 'Highlight',
          'block' => 'div',
          'classes' => 'highlight',
          'wrapper' => true
        ]
    ];

    $settings['style_formats'] = json_encode($style_formats);

    return $settings;
}

Remove "No quote" format option form formats dropdown
Remove "No quote" format option form formats dropdown

There is now only the "Highlight" option in the formats dropdown.

Content which has already been marked up as a no-quotes blockquote will retain its styling, but the option to apply that style will no longer be available in the editor.

Resolves: https://trello.com/c/twJRKhKT/5-replicate-block-quotes-as-a-div
