Hello,
is there a possibility on button/grid cell click show image in ReachTextEditor? Now I am able just to show that picture as background image, but I want to have it like normal picture, but added from other source (clicking grid), not only using image tool / imageBrowser property.
Now my function looks like this (it shows picture getting from database like base64 like background in rich text editor):
onTreeGridClick(args) {
var img = new Image();
img.src = args.row[0].attributes[2].ownerElement.lastElementChild.firstElementChild.currentSrc;
$("RichTextEditor").ejRTE({
iframeAttributes:{ style: "background: url(" + img.src + ") no-repeat;" }
});
}