Re: [w3c/editing] Should deleting cell's content on a table inside a contenteditable area implies the whole table to be deleted ? (#163)

@javifernandez wrote:

> Deleting the table when the user hit backspace on the last character of the first cell would lead to an unexpected behavior. The user might have hit backspace continuously or an excessive number of times, just to be sure the whole cell's content is deleted, but didn't want actually to delete the table itself.
>
> Deleting the table when hitting backspace on the last character in the second cell would make even less sense, IMHO. We can agree on moving the cursor to the previous cell, and eventually, if we want, delete the table when reaching the first cell if the table gets empty

Yeah, except this still means when the user hits backspace 19 times instead of the necessary 17 their table suddenly vanished.

I suspect that reality-testing will show that we can't save us from that and providing an undo that separates "delete cell content" from "delete the table structure" is about as good as it gets. So, let's see some reality testing :)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/editing/issues/163#issuecomment-308079060

Received on Tuesday, 13 June 2017 10:49:42 UTC