Issue Bug Closed

#28350imageLinkWrap and StdWrap Inconsistent

Sebastian Steinmetz 07/20/11, 15:29 updated 02/07/12, 08:19

Description

When using imageLinkWrap and using JSWindow, the stdWrap is applied to the image itself, and the link is surrounded:

<a href="">
  STDWRAP
    <img>
  STDWRAP
</a>

But when not using JSWindow, but directImageLink, the stdWrap is applied to the link too:

STDWRAP
  <a href="">
    <img>
  </a>
STDWRAP

It would be helpful inserting (via stdWrap.innerWrap for example) something inside the link tags as it would be possible when using JSWindow. So the stdWrap should be applied before adding the typolink.

Reviews 1