popline
popline copied to clipboard
get image innerHTML
sorry, this is not an issue. Just wondering how to get the the source code if the text contains an image.
I created a custom button in the social section like so:
custom: {
iconClass: "fa fa-comments",
mode: "view",
action: function(event) {
$('#customformcontainer').removeClass('hide');
$('#customtextarea').text($.popline.utils.selection().text());
}
}
Im returning the text inside a commentBox/contactForm ... Just experimenting with your awesome code :-) But if the text contains an image it is ignored.
Im wondering how can I return the html value like so:
<img src="https://github.com/image.png">
oh, btw Great job on the code ! Looks really great !