Hello,
I've tried this on the online demo at :
http://demos.kendoui.com/web/editor/all-tools.html
click the View Html tool, edit the first img tag and add onerror="imgError()" to it.
Click update button. View Html again and my change has now disappeared. Why is that ?
I've first noticed it locally and I thought I did something wrong, then I tried it on the online demo section and the same behaviour happens.
Things get even weirder if you add something like onerror="alert('The image could not be loaded.')"
if you view html again this is what you get :
<img alt="Editor for ASP.NET MVC logo" be="" could="" image="" loaded.');"="" not="" src="http://www.kendoui.com/Image/kendo-logo.png" style="display:block;margin-left:auto;margin-right:auto;" the="" />
Looks like a big bug to me.
I've tried this on the online demo at :
http://demos.kendoui.com/web/editor/all-tools.html
click the View Html tool, edit the first img tag and add onerror="imgError()" to it.
Click update button. View Html again and my change has now disappeared. Why is that ?
I've first noticed it locally and I thought I did something wrong, then I tried it on the online demo section and the same behaviour happens.
Things get even weirder if you add something like onerror="alert('The image could not be loaded.')"
if you view html again this is what you get :
<img alt="Editor for ASP.NET MVC logo" be="" could="" image="" loaded.');"="" not="" src="http://www.kendoui.com/Image/kendo-logo.png" style="display:block;margin-left:auto;margin-right:auto;" the="" />
Looks like a big bug to me.