22399 Posts in 6752 Topics by 2748 members
General questions about getting started with SilverStripe that don't fit in any of the categories above.
|Go to End|
20 March 2012 at 2:33pm
I already have XAMPP installed locally, and I have used it extensively, so I know it works.
As mentioned previously, I unpacked 2.4.7 separately on my local machine and installed SS.
After opening http://localhost/ ... /index.php/admin/ I entered the CMS, created a new page, pasted some text as text in the tinymce window, and then inserted an image. The results were the same as on the Linux server.
In other words, to make the image display in the right position, I have to manually remove the div that tinymce puts around the image, which is:
<div class="captionImage right" style="width: 100px;">
I have verified the existence of <div class="typography"> in Page_results.ss and Page.ss in the blackcandy theme, which is the theme I am using.
HOWEVER ... if I leave the Caption Text field blank, the offending div tag is not inserted by tinymce, and the image is positioned correctly.
20 March 2012 at 2:43pm
Are you using the "Paste as Plain Text" button in the CMS? Or pasting straight in to TinyMCE? (You should be using Paste as Plain Text, as pasting straight in to TinyMCE will insert extra divs around your content)
I would just use images without captions for now, if that's working right for you
20 March 2012 at 3:59pm
novaweb, thanks for pointing out the Plain Text button. Actually, I did use that. It's good to mention it though, just in case.
Anyway, I'd be curious to know if anyone else has found that inserting an image with a caption causes a troublesome div to be added by tinymse. It seems a class is missing from the default templates. Would the development team be concerned with an issue like this?
|Go to Top|