Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Content Editor Discussions /

Forum for content editors and CMS users.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

span styling disabled in silverstripe ver 2.3.2


Reply


11 Posts   3757 Views

Avatar
Willr

Forum Moderator, 5513 Posts

2 August 2009 at 12:50pm

It seems like a rediculous decision to have removed the style attribute as it means that half the buttons on the top row of the toolbar now don't work

I don't think there was a decision to remove it, I think this is a bug more then anything. Check there isn't already an open issue on open.silverstripe.org to look into this.

Avatar
Carbon Crayon

Community Member, 598 Posts

3 August 2009 at 9:47am

Thanks Will, I couldn't find a ticket so I created a new one: http://open.silverstripe.com/ticket/4455

Avatar
kcd

Community Member, 54 Posts

17 September 2009 at 4:52pm

Edited: 17/09/2009 4:55pm

Great thinking Aram... that is a much better way to extend the list. Here is my approach to allowing all tags.

in mysite/config.php

//Allow all tags in TinyMCE wysiwyg html editor
HtmlEditorConfig::get('cms')->setOption('valid_elements',' elements go here ');

For all elements use '*(*)' but with square brackets in place of the round '(' ones (forum will not allow square brackets).