Date: 2019-09-17 15:27
Posted By: Greg Prosser (swdmedia)
Disregard the bit about the custom style formats, that does work as before, just
the 'Formats' label is missing.
Date: 2019-09-18 03:44
Posted By: Mathieu Muths (airelibre) (airelibre)
According to:
https://www.tiny.cloud/docs/configure/content-formatting/#style_formats
The way the formats / styleselect stuff works has changed and have merged in
some way. I'll have to do some tests and update the module.
If you want to make some customization for the moment, you can still use the «
Extra javascript » in the Templates tab.
Date: 2019-09-18 03:57
Posted By: Mathieu Muths (airelibre) (airelibre)
In fact I think we should encourage using the style_formats stuff instead of the
block_formats.
You can easily list the block / titles types with:
title: 'Standard text', block: 'p'
title: 'Title 1', block: 'h1'
title: 'Title 2', block: 'h2'
title: 'Title 3', block: 'h3'
And then add some custom stuff:
title: 'Bold text', inline: 'strong'
title: 'My custom title 2', block: 'h2', classes: 'text-red lighter'
... and even mix them or add section titles. This is powerful !
Here's a complete example by Tiny:
https://www.tiny.cloud/docs/demo/format-custom/
As a TinyMCE power user, how would you manage this in the profile editor? I'd
keep both options, but move the "Use a custom formats dropdown" from the
"Toolbar" tab to a new "Formats" tab.
And then move the « CSS > Style formats » to that new tab too
Something like this, tell me what you think about it