481 Posts in 150 Topics by 238 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1774 Views |
-
Img border not working correctly in TinyMCE

8 January 2010 at 6:20pm Last edited: 8 January 2010 6:20pm
I noticed when I right click on an image using the TinyMCE editor, and select "Insert/edit image", a window comes up allowing me to add a border to the image. When I set a value, such as "10", the border shows up in the editor, however, the boarder does not appear on the published site. Any suggestions on how to fix this? I'm using SilverStripe 2.3.4.
-
Re: Img border not working correctly in TinyMCE

4 May 2010 at 3:15am
I have this problem as well. I'm running Silverstripe 2.3.5 with the Blackcandy theme. No borders even though I've removed "borders : none;" in typography.css in the ".typography img" section.
Any suggestions appreciated.
-
Re: Img border not working correctly in TinyMCE

10 August 2010 at 3:02pm Last edited: 10 August 2010 3:03pm
Hi,
TinyMCE is using CSS for styling the border and not using the border attributes of img. You can fix this by adding 'style' as valid elements in your mysite/_config.php HtmlEditorConfig
e.g.
"img[class|src|...|...|style]," <- see the "style" element for img.hope that helps.
| 1774 Views | ||
|
Page:
1
|
Go to Top |


