News for hackers. Stuff that matters.
Re:Show HN: HTML-Notepad – A WYSIWYG editor of structured do... by c-smile on Sunday November 04, 2018 @11:20AM (#18376577)
Thanks for the comment, that really interesting.

First of all, FrontPage is a web-page-editor and html-notepad is not. It means that html-notepad can be used to edit textual content/fragments of web pages, but not the whole page. That's simply impossible. And that's why web-page-editors, as a class, have gone all together. "Sic transit gloria mundi" to them.

The only reasonable way of composing pages by pure WYSIWYG means are wizards or page-blocks-composers - something close to mechanism that WordPress is using.

"the gap with the ugly rectangles at the left that i'm not sure about"

Those rectangles play several roles:

a) to visualize hierarchical structure. This helps a lot. At least to predict what hit on ENTER will do.

b) they allow to select elements as a whole. In browsers with that "contenteditable" rudimental thing you cannot select whole element:

   <p>|Foo bar|</p> 
versus

   |<p>Foo bar</p>| 
(where `|` marks start/end selection positions)

c) they will serve role of drag handles to be able to reorganize structure interactively.

As of UI configurability... it will be there.

As of wxWidgets, etc. - I see no reason for that. Neither of popular editors use standard (quite limited) OS widget sets. MS Office, Adobe, Sublime and so on as examples.

There are no comments on this comment yet.