Declined
Last Updated: 07 Jun 2016 05:45 by ADMIN
Andrea
Created on: 06 Jan 2016 16:54
Category: Editor
Type: Bug Report
0
RadEditor removes background-image property
I've noticed a problem that the editor is now stripping off any background-image style from any tag. The problem seems to be that it is converting single quotes (') to double quotes (") which then close the opening quote for the style property, therefore making the HTML invalid.

‚Äč

Here's how it can be reproduced:

In the rad editor go the HTML tab.

Add the following code:

<div style="background-image: url('something.jpg');">This is a test</div>

Click the Design tab, then back to the HTML tab.

Notice that the attribute has been changed so that it now reads:

<div style="background-image: url("something.jpg");">This is a test</div>

This is obviously invalid HTML. Click on the Design tab then back to the HTML tab. The style has now been removed completely.

This can be reproduced in the current Telerik demo site.
1 comment
ADMIN
Rumen
Posted on: 07 Jun 2016 05:44
I've tried to reproduce the reported problem but without success. Can you please see my test at http://screencast.com/t/MaTJ5qlMeOSA and let me know if I am missing something?