mercury icon indicating copy to clipboard operation
mercury copied to clipboard

Moving cursor out of the inner element

Open infoman opened this issue 12 years ago • 1 comments
trafficstars

For example, I have one full region and the only element inside is a table. By default, when the editor starts, the cursor is before the table and I can insert some text or other element there.

But when I move the cursor inside some table cell, I don't see any way to move it back out. Even more, if some table cell contains a link (or some other element), I can't move out of the link and add more contents to that cell.

There's no way as I can see to add something after the last html element in region, as the cursor is always inside something.

Tested in Firefox version 20, 22, 23, Mercury version is git master.

mercury

upd.: Partially solved by adding some code to injectedStyles:

'[data-mercury]:focus>*:last-child:after, [data-mercury]:focus>*:first-child:before {content: \'\'}'

so I can move out of the table now by pressing Up or Down buttons, but still cannot reach table cell contents outside of the link.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

infoman avatar Aug 28 '13 21:08 infoman

Any updates?

skydan avatar Mar 27 '14 12:03 skydan