|
|
 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:
<system.web></system.web>
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 < and > It's definitely something to with HTML parsing somehwere, as (nb the space)
< system.web></ system.web>
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.
|
|
 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
|
|
 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)
|
|
|
Guest |