Why doesn't Tiny MCE like <tag> ? Options
mrshrinkray
Posted: Wednesday, October 31, 2007 3:40:25 PM

Rank: Aficionado

Joined: 8/4/2006
Posts: 106
Location: London
I've got a really annoying problem with Umbraco/Tiny MCE, trying to paste tag-based code into the editor.

For example:

&lt;system.web&gt;&lt;/system.web&gt;

That's perfectly valid from what I can tell, it shouldn't care if it is two tags. But one of the two is stripping away the &lt; and &gt; It's definitely something to with HTML parsing somehwere, as (nb the space)

&lt; system.web&gt;&lt;/ system.web&gt;

works fine.

Does anyone know a way around this, without resulting to macros? I can't use <pre> as Tiny MCE has been configured to only accept certain tags.
mrshrinkray
Posted: Tuesday, November 13, 2007 6:29:54 PM

Rank: Aficionado

Joined: 8/4/2006
Posts: 106
Location: London
The more I look at Tiny MCE, the more I'm slightly perplexed at how they gone about doing an editor. It seems they have written an XML to HTML and visa versa converter in Javascript to meet their needs, looking at the source. I suppose it works so..

Anyway, my problem now (I gave up on the problem above) is <pre> tags. All formatting is being removed from <pre> tags, that is newlines.

I've trawled the Tiny MCE forums but the only related post was from 2005.

Is there a way of stopping Tiny MCE from formatting the html? There doesn't seem to be an option in the tinymceConfig.config file
kalpa
Posted: Tuesday, November 13, 2007 7:03:40 PM

Rank: Fanatic

Joined: 7/19/2006
Posts: 492
Location: Göteborg, Sweden
What exctly do you want to achieve?

I'm sure there's a solution to your annoyance, there usually is ; )

From your description I guess your trying to publish asp.net code-examples, is that correct?

// Kalle

" - Yeah I'd like to share your point of view, as long as it's my view too... (http://www.d-a-d.dk/lyrics/pointofview)
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.