How can I modify the image insertion plugin, so that when I add a picture, it sets the dimensions I specified while wrapping it in the <a> tag? I just want to connect the lightbox ...

  • in the tag a ... and set the default size, do not give the opportunity to make it to the user. - Maks
  • Try to write more detailed questions. Give your code. Explain exactly what you see the problem, how to reproduce it, what you want to get as a result, etc. - Nicolas Chabanovsky
  • In tinymce there is a built-in plugin for adding pictures to the message. It works on the principle that it simply inserts a picture with the <img> tag and its dimensions (he suggests to indicate the same. I need to make this plugin follow this principle: we insert a picture, it wraps it in <a href = "link" data = "lightbox"> <img src = "referring" the width and height are strictly set by me> that's how it is. - Maks

0