W3C home > Mailing lists > Public > www-amaya@w3.org > April to June 2004

Re: adding after tables Re: amaya problem

From: Irene Vatton <irene.vatton@inrialpes.fr>
Date: Mon, 24 May 2004 13:12:03 +0200
To: Charles McCathieNevile <charles@w3.org>
Cc: laurent@w3.org, cbeerse@lycos.nl, www-amaya@w3.org
Message-Id: <20040524131203.5b915cc6.irene.vatton@inrialpes.fr>

On Thu, 20 May 2004 15:00:50 -0400 (EDT)
Charles McCathieNevile <charles@w3.org> wrote:

> This is a bit counter intuitive - I would expect this to replace the table
> with an empty paragraph, 

I don't think a user expects to lost the table when this table is selected and
he hits the Enter key.

whereas I expect to be able to do it by going to the
> end of the table and repeating return enough.

We did that in previous versions of Amaya but it didn't allow one to keep an empty

> cheers
> Chaals

The standard behavior of the Enter key is to generate a new element of the current selected 
element type.
By example, if you select a H2 the Enter key generates a new H2 after.
When a cell is selected the Enter key generates a new cell.
There are two exceptions: it generates a paragraph when a <pre> or a <table> is selected.

The shortcut Shift + Enter (XHTML>Paragraph) will replace a selected H2 by a paragraph.

Irène Vatton                     INRIA Rhône-Alpes
INRIA                               ZIRST
e-mail: Irene.Vatton@inria.fr       655 avenue de l'Europe
Tel.: +33 4 76 61 53 61             Montbonnot
Fax:  +33 4 76 61 52 07             38334 Saint Ismier Cedex - France
Received on Monday, 24 May 2004 07:12:39 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:30:44 UTC