// Add custom class styles for the site
ContentTools.StylePalette.add([
new ContentTools.Style(
'Highlight - Apply a highlight tag to bold content',
'highlight',
['h1', 'h2', 'h3', 'li', 'p']
),
new ContentTools.Style(
'Large text - Increase font size',
'large-text',
['p']
),
new ContentTools.Style(
'Margin - Increase paragraph spacing',
'large-spacing',
['p']
),
new ContentTools.Style(
'Table - Alternative table style',
'table--alternative',
['table']
),
new ContentTools.Style('Image caption', 'image-caption', ['p'])
])
Hi @harshitaparmar,
Here's an example taken from a recent project: