tinymce-docs icon indicating copy to clipboard operation
tinymce-docs copied to clipboard

Problem with page configure/content-formatting.md

Open NickVolt77 opened this issue 4 years ago • 0 comments

This doc do not show real TinyMCE behavior I read there that I can do this:

bold: [
 	{ inline: 'b' },
 	{ inline: 'strong', remove: 'all' },
	],

  formats: {
    // Changes the default format for the bold button to produce a span with a bold class
    bold: { inline: 'b', classes: 'bold' },
    italic: {inline: 'i', classes:'xx'}
  },

But TinyMCE uses STRONG (not B) and EM (not I). This simply do not work. Funny thing: when I press "B" i get STRONG (instead of B), but with class listed in config above - this is just madness.

Using "Version: 5.9.2 (2021-09-08)"

affected page: https://www.tiny.cloud/docs/configure/content-formatting/

NickVolt77 avatar Feb 14 '22 22:02 NickVolt77