U4-8886 - Selecting image in TinyMCE doesn't highlight toolbar button and show current folder

Created by Bjarne Fyrstenborg 22 Aug 2016, 16:45:15 Updated by Warren Buckley 06 Sep 2017, 11:38:54

Tags: PR

Subtask of: U4-9609

When I select an inserted image in TinyMCE it doesn't hightlight the toolbar button "image/media" like it does for e.g. bold, italic etc.

Furthermore the selected image is placed in a folder, but when opening the media dialog it just present an empty view - I have to click on root (Media in breadcrumb) and then select a folder to find the image (or another image). I would be great if it opened the current folder with this image selected - then I can select another image in this folder or browse to another folder to find an image.

When inserting a new image it seems to remember the last viewed folder (and showing the path in breadcrumb).

3 Attachments


Tom Fulton 05 Sep 2017, 17:37:28

FYI, I just sent a quick pull request to highlight the Media Picker toolbar icon when selecting an image. I think it's a pretty straightforward update: https://github.com/umbraco/Umbraco-CMS/pull/2173

In 7.6.5, I believe the media picker already opens to the folder with the selected image, so I think that should satisfy the second part of this ticket.

Warren Buckley 06 Sep 2017, 11:25:53

Thanks @tomnf I have tested this and it works as described and yes you are right about the other issue has now been fixed since this issue was originally reported. Keep up the good work!

Priority: Normal

Type: Bug

State: Fixed


Difficulty: Normal


Backwards Compatible: True

Fix Submitted: Pull request

Affected versions: 7.4.3, 7.6.5

Due in version: 7.6.7


Story Points:

Cycle: 4