homepage Welcome to WebmasterWorld Guest from 54.197.111.87
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
Forum Library, Charter, Moderator: open

WYSIWYG and Text Code Editors Forum

    
Round Trip HTML
Which products _really_ preserve HTML?
ciml




msg:934216
 1:31 pm on Jun 3, 2002 (gmt 0)

I recall claims about "preserv[ing] mark-up - including HTML" and "Roundtrip HTML" by some WYSIWYG vendors.

My primary concerns are that aspects such as nesting order and alt="" are preserved (one tool I tried removed alt="" thinking it was redundant:o), but I would also rather that indenting, as well as the inclusion or exclusion of line breaks and spaces in the source are preserved (due to Nav4 CSS bugs).

Are there still niggles, or is it safe to let people open up documents in modern WYSIWYGs, change the text (including alt text) and save without messing up anything?

 

txbakers




msg:934217
 8:15 pm on Jun 3, 2002 (gmt 0)

This works in Dreamweaver, although there is a bug in Dreamweaver UltraDev 4 which doesn't accept hand entered code every time.

ciml




msg:934218
 5:42 pm on Jun 4, 2002 (gmt 0)

Thanks tx. I'm not keen on the sound of "doesn't accept hand entered code every time", but the main reason is to let someone with no experience change the text in a site without hurting it in any way.

The other options are text editing (requiring someone who can read HTML to a minor extent) or just parsing the existing documents into form elements, but that would take a little time to set up.

Maybe one of those coloured syntax highlighting editors would be the easiest compromise.

Nick_W




msg:934219
 6:03 pm on Jun 4, 2002 (gmt 0)

Probably the best idea would be to invest a little time in server-side handling and editing with forms.

But, as your not so keen on that callum, why not just do something like this:

<!-- You can edit between this line -->

<p>text in here</p>

<!-- and this one. Please don't touch anything else you muppet. -->

Nick

mivox




msg:934220
 6:08 pm on Jun 4, 2002 (gmt 0)

I haven't *noticed* GoLive (v5) changing my code at all... but if you don't set the preferences correctly, it will insert the "creator" meta tag when the document is saved.

However, once I get very heavily into CSS, I noticed that wholesale cutting and pasting of text blocks in the WYSIWYG window often messed up the CSS divs, so it depends on how the page is set up. I've seen some truly amazing auto-generated nested divs that cropped up when I wasn't paying attention.

If you kept the "to be edited" text within a single-cell table, or some other code-buffer you'd probably be OK. Then again, I like the muppet idea. ;)

EliteWeb




msg:934221
 6:24 pm on Jun 4, 2002 (gmt 0)

mivox thats a problem with most all wysiwyg editors is the insertion and code manipulation per the programs best 'idea' should be instead of having it the way you want it.

Ive had to change editors because they wouldnt follow my rules. Luckileeee in FP now it can have all that stuff turned off so I use it like a text editor that just has the FP extension stuff built in ;) heheh some would say that defeats the purpose of a visual editor though.

ciml




msg:934222
 6:25 pm on Jun 4, 2002 (gmt 0)

Thanks for the suggestion, Nick, but I'm currently thinking about converting a an old site to another language. If I was starting it from scratch then it would be in a content management system, making changes easy. If they're ever likely to want further languages then it might be worth converting it anyway.

It's all valid, so the idea of an SGML parse tree in a form via CGI seems to make sense, with all inline elements as INPUT boxes and all block level elements as TEXTAREA boxes. I haven't considered how to approach nesting, though. (eg. SPAN inside A inside P inside LI inside UL inside TD inside...).

I don't recall ever coming across a non-WYSIWYG HTML editor that hides all the HTML but allows content to be edited. Anyone?

Thanks mivox, I'll look into GoLive as well.

caine




msg:934223
 7:03 pm on Jun 4, 2002 (gmt 0)

ciml

can't say i have seen a non-wysiwyg editor doing that either.

I have not as yet come accross a wysiwyg that, when you start doing any sort of formatting, does not add its own quirky mix of unnecessary html in one way or another.

Marcia




msg:934224
 8:04 pm on Jun 4, 2002 (gmt 0)

>main reason is to let someone with no experience change the text in a site without hurting it in any way.

I'm thinking about this for someone with no knowledge at all who wants to do self-updates on a monthly specials page.

It seems the safest way is to set it up so that the changeable section will use SSI. That way all else would stay intact, and if anything got messed up it would just be that one part of the page, which would be easier to fix than if it were the whole thing.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved