Umbraco RTE Stripping empty span tags Options
freefall
Posted: Thursday, October 16, 2008 2:41:13 PM
Rank: Newbie

Joined: 10/16/2008
Posts: 11
Location: Melbourne, Australia
Hey All,

having a slight problem with the RTE in umbraco...

We use empty spans after text for a method called image replacement, which is really handy for accessability and also SEO...

basically the method requires empty <span></span> tag to work, yet when I copy and paste the markup into the RTE (even in the view HTML Source window) it is removing my empty span tags...

Is there anyway to tell umbraco or TinyMCE to leave my code alone stop making decisions for me?

Cheers
drobar
Posted: Thursday, October 16, 2008 5:29:52 PM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 1,831
Location: MA, USA
If you're just going to put in raw html, why not change from the RTE to a multi-line text field? Then Tidy and/or TinyMCE won't try to 'help' you by removing extraneous markup.

cheers,
doug.

MVP 2007-2009 - Percipient Studios
freefall
Posted: Friday, October 17, 2008 12:58:53 PM
Rank: Newbie

Joined: 10/16/2008
Posts: 11
Location: Melbourne, Australia
Hey,

Thanks for your reply.

While I didn't exactly use that as a solution...i did however use a modification of said solution...

I Left most of the template code there, (with the image replacement) in the template.

The just used 2 RTE ion 2 tabs (1 RTE per Tab) to update the text under the Image Replacement.

Cheers ")
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.