Confirmed users
1,396
edits
m (→Details) |
|||
| Line 57: | Line 57: | ||
;stub approach: | ;stub approach: | ||
The rich element isn't focusable or interactive | The rich element isn't focusable or interactive. | ||
==Mouse selection== | ==Mouse selection== | ||
When mouse click is occurred on the rich element while 'add-to-selection' modifier key is pressed (like ctrl key) then the element is appended to the selection entirely, the element is not focused and no element's action is invoked. Note, this is applicable for in-text elements as well. | When mouse click is occurred on the rich element while 'add-to-selection' modifier key is pressed (like ctrl key) then the element is appended to the selection entirely, the element is not focused and no element's action is invoked. Note, this is applicable for in-text elements as well. | ||
;stub approach: | |||
The rich element isn't focusable or interactive. If the user clicks on the element then it's selected, i.e. the caret is put between empty characters. | |||
==Removing the selection from DOM== | ==Removing the selection from DOM== | ||