Hi
I've managed to add custom colour block backgrounds but when i try and add buttons in the same way they aren't there in the WYSIWYG.
So far i have added the following to the 'StylesSet:' box via the Site Settings > Editor Config section:
[
// Block Styles
{ name : 'Teal Bump', element : 'div', attributes : { 'class' : 'bump bump-teal' } },
{ name : 'Grey Bump', element : 'div', attributes : { 'class' : 'bump bump-grey' } },
{ name : 'Mist Bump', element : 'div', attributes : { 'class' : 'bump bump-mist' } },
{ name : 'Purple Bump', element : 'div', attributes : { 'class' : 'bump bump-purple' } },
{ name : 'Mid Grey Bump', element : 'div', attributes : { 'class' : 'bump bump-mid-grey' } },
// Inline Styles
{ name : 'Teal Button', element: 'a', attributes : { 'class' : 'btn btn-primary' } },
{ name : 'Grey Button', element: 'a', attributes : { 'class' : 'btn btn-secondary' } }
]
The colour blocks work but the buttons don't.
Thanks in advance for any direction you can offer on this or another route.