I have been trying and can’t for the life of me work out where I am to put the following code and in what file to get the Styles drop down to come in to the editor.
tinyMCE.init({
style_formats : [
{title : 'Bold text', inline : 'b'},
{title : 'Red text', inline : 'span', styles : {color : '#ff0000'}},
{title : 'Red header', block : 'h1', styles : {color : '#ff0000'}},
{title : 'Example 1', inline : 'span', classes : 'example1'},
{title : 'Example 2', inline : 'span', classes : 'example2'},
{title : 'Table styles'},
{title : 'Table row 1', selector : 'tr', classes : 'tablerow1'}
]
});I found the example editors and plugged the code in there and it works - http://ecoplus.honeyweb.com.au/scripts/tinymce/examples/full.html
Just need it for the live site.
Can someone help me please?
p.s. I am open to better suggestions too 😛
Moved to the Extensions forum by Moderator
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.