Better management of input border in table editor