Similar to https://github.com/GetmeUK/ContentTools/issues/334 but I want to open the Properties Dialog when an image or video is clicked, so I can edit the properties or source. Any suggestions? I have tried a few different things with no luck.
ContentEdit.Root.get().bind('mount', function (element) {
if (element.type() !== 'Video') {
return;
}
// Capture a double-click event against the image element
element.domElement().addEventListener('dblclick', function (ev) {
ContentTools.PropertiesDialog(element);
});
});
Similar to https://github.com/GetmeUK/ContentTools/issues/334 but I want to open the Properties Dialog when an image or video is clicked, so I can edit the properties or source. Any suggestions? I have tried a few different things with no luck.