Designing <richtext>

October 15, 2007

Filed under: HTMLayout, Sciter, Web Application Techologies — Andrew @ 7:11 pm

I am designing <richtext> behavior for htmlayout/sciter… So far I like the way it allows to edit the text.

There are interesting usability problems bubble up sometimes… Let’s say you have following document:

<body>
  <pre>
     ....
  </pre>
  <table>
     ....
  </table>
</body>

And now imagine that you need to insert some text (paragraph) between the table and that pre block. Or insert paragraph (<p>) at the beginning of the document – before the <pre>…

I do not know any WYSIWYG HTML editor that allow to handle such operations.

So I have invented “horizontal caret” that marks start-block-position. Enter key in that position causes new paragraph to be inserted.

Here is an example of such caret – blinking black bar in top-left corner of the pre element:

richtext, horizontal caret

3 Comments »

  1. Inserting between pre and table in frontpage:
    goto cell1 and press ctrl+enter

    Comment by Kubik — October 15, 2007 @ 11:39 pm

  2. To Kubik: that is far from WYSIWYG. How do you know that Ctrl-Enter will do something at this position?

    Comment by Andrew — October 17, 2007 @ 8:41 am

  3. I have been wondering about this for years… Even if Frontpage seems to accomodate for it, it is far from intuitive. Well done.

    Comment by Midas — November 13, 2007 @ 3:06 am

RSS feed for comments on this post. TrackBack URI

Leave a comment