You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is what happened, at least in my case (Summernote v0.8.20) :
Added 2 images
Added a link URL on the first image
Double clicked the image attributes on the 2nd image. The Link URL is prepopulated with the URL of the first image. At this point, the actual HTML code is not being altered. However, If i accidentally press OK on the dialog form, the HTML code will be updated with the same Link URL of the first image.
My belief is that the plugin reads the imgLink data (thus the URL and the rest of the variables) of the first image it can find and populates the dialog form without checking which image it should be reading.
Here is a short video of it. The first image had the Link URL https://google.com while the second image had that property empty.
summernote-image-attr-plugin.mp4
Upon saving the second image's dialog form, code was being updated (it shouldn't have the URL at all!)
The text was updated successfully, but these errors were encountered:
This is what happened, at least in my case (Summernote v0.8.20) :
OK
on the dialog form, the HTML code will be updated with the same Link URL of the first image.My belief is that the plugin reads the imgLink data (thus the URL and the rest of the variables) of the first image it can find and populates the dialog form without checking which image it should be reading.
Here is a short video of it. The first image had the Link URL
https://google.com
while the second image had that property empty.summernote-image-attr-plugin.mp4
Upon saving the second image's dialog form, code was being updated (it shouldn't have the URL at all!)
The text was updated successfully, but these errors were encountered: