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.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Editing an inserted image with TinyMCE


Reply

4 Posts   1326 Views

Avatar
AdamJ

5 January 2009 at 2:08am (Last edited: 5 January 2009 2:13am), Community Member, 145 Posts

Hey Guys,

Just a quick question. I like the approach with adding images with tinyMCE, its nice, and easy for clients to use. Same with the links UI. The UI allows for editing already added links, but it doesn't let me edit already added images. Which is annoying.

There are the four options for positiong of the images (left, leftAlone, right, rightAlone), so if I added an image as left, but meant to add it as leftAlone, I currently have to delete that image and re-add it to change it to leftAlone. If I right click on it and click edit image, it brings up the tinyMCE editing popup which doesnt use those options, but left, right, center etc, which then adds a style attribute to the image inline. Clicking on an image while the image sidebar is active (the SilverStripe designed one) it doesnt change for the selected image's details. Would it be possible for that to be setup? Basically in the same way that the link sidebar changes if you click on a link included in the copy.

If this could be added, and captions included in 2.3.0 stable, that would really make the image stuff rock solid.

[ETA] Could it also be setup that when you right click on an image, and select edit image, that the sidebar would be opened up? Same with links, if you right click and say edit link, it brings up the popup that just has a text field, not the page selector.

Cheers in advance for any help with this.

Avatar
Carbon Crayon

5 January 2009 at 2:18am Community Member, 598 Posts

Hi Adam

When I click on an image with the image panel open it allows me to change the options for that image. The title and wrapping options appear in the panel and i can change them.

I'm using v2.23....not sure why it wouldnt work for you?

Avatar
AdamJ

5 January 2009 at 2:28am Community Member, 145 Posts

I am running 2.3.0 rc2, maybe this is where the issue lies...

Avatar
Carbon Crayon

5 January 2009 at 3:25am Community Member, 598 Posts

ahh I see, perhaps file a bug report?