Using TinyMCE 3.4.7 (Magento 2) and I'm having an issue where when I insert Magento CMS directives into an html attribute, the resulting html ends up completely broken. For example:
<div data-img="{{view url="images/media/home/image1.jpg"}}"></div>
will be converted into:
<div data-img="{{view url="></div>
by the editor. Is there a way to get the TinyMCE editor to ignore everything inside the Magento curly brace {{ }} cms directives? Or another solution to this issue?