TinyMCE stripping out img id attributes Options
Sjoerd22
Posted: Monday, July 21, 2008 3:19:57 PM

Rank: Newbie

Joined: 7/21/2008
Posts: 12
Location: Netherlands
I think I have a working solution to the "disappearing" align attributes:

first i added rel=0 to the tinyMceconfig.config as instructed above

then i added rel to the <imaging><allowedAttributes> in umbracoSettings.config which I found in the same folder.

(to get the webserver-remotely- to reload the changes i changed the web.config )

This seems to have the desired effect. See the changed line in umbracoSettings.config below.

Sjoerd
=============================================================


<imaging>
<!-- what file extension that should cause umbraco to create thumbnails -->
<imageFileTypes>jpeg,jpg,gif,bmp,png,tiff,tif</imageFileTypes>
<!-- what attributes that are allowed in the editor on an img tag -->
<allowedAttributes>alt,border,class,style,align,id,name,onclick,usemap,title,hspace,vspace,rel</allowedAttributes>
</imaging>Whistle
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.