Re: [editing] tab in an editable area WAS: [whatwg] behavior when typing in contentEditable elements

Ojan Vafai <> wrote:
> We should make this configurable via execCommand:
> document.execCommand("TabBehavior", false, bitmask);
> The bitmask is because you might want a different set of behaviors:
> -Tabbing in lists
> -Tabbing in table cells
> -Tabbing blockquotes
> -Tab in none of the above insert a tab
> -Tab in none of the above insert X spaces (X is controlled by the CSS
tab-size property?)

We're trying to avoid introducing additional bitmasks into the web
platform. Can we use a dictionary or string?

Received on Sunday, 8 January 2012 01:03:05 UTC