I need to make some actions with imgs in selection in editable iframe. I can do it with ALL images (here is code, for example)
$(iframe).contents().find('img').attr('alt', 'new alt') but I need ONLY img WITHIN user selection. Help me please. Thanks
I need to make some actions with imgs in selection in editable iframe. I
Share
when the user selects get your code to add a selection class to the images in the user’s selection using
Then when selecting the images to be edited use: