in reply to Re^2: HTML Editor: a project
in thread HTML Editor: a project

yeah, it'll never be a replacement for the user being educated about proper markup techniques. but i think that an editor whose overarching principle is generating correct semantic markup with presentation secondary would go a long way. at the very least, it would then be a useful tool for those authors who do care more about correct markup.

what i'm saying is instead of having an 'indent paragraph' button that just generates a blockquote, you would have a 'blockquote' button and maybe somewhere else an actual 'indent paragraph' button which applies the right <acronym title="Cascading Style Sheets">CSS</acronym> rules to the selected paragraph.

i guess what i'd like is sort of an html oriented LyX.

anders pearson

Replies are listed 'Best First'.
Re^4: HTML Editor: a project
by Aristotle (Chancellor) on Jun 26, 2002 at 16:17 UTC

    I know; and I definitely support the idea. I think we would get a long way towards this by a throwing the WYSIWYG approach away and using a moded editor.

    Text entry mode not allow for layout choices; it would only produce markup and both try to guess what the user is doing (double linebreak = paragraph, f.ex) as well as explicity ask him to mark up his text ("this is a headline"). Text would not appear formatted in entry mode either.

    Layout mode would not allow for text or markup entry. Only formatting choices for existing markup can be made here: select a headline, and you can adjust the CSS formatting for that level of headline, or make choices for the specific headline in question (via a classname), or both. <span> tags might be an allowed exception.

    Makeshifts last the longest.