Editor with widgets: Difference between revisions

Jump to navigation Jump to search
Line 43: Line 43:
# if caret is directly before/after the text field then pressing right/left key should move caret into widget's text field in the first/last position of the field's content. If the widget's content is larger then text field should be scrolled
# if caret is directly before/after the text field then pressing right/left key should move caret into widget's text field in the first/last position of the field's content. If the widget's content is larger then text field should be scrolled
# if caret is in the first/last position of the field's content then pressing left/right key moves caret to directly before/after the widget.  
# if caret is in the first/last position of the field's content then pressing left/right key moves caret to directly before/after the widget.  
# if caret is in the widget then pressing end/home key should move caret to
# if caret is in the widget then pressing end/home key should move caret to the last/first position of the field's content
the last/first position of the field's content
# if caret is in the widget then pressing delete/backspace key can remove only field's content. If content is empty then nothing happens.
# if caret is in the widget then pressing delete/backspace key can remove only field's content. If content is empty then nothing happens.
# mouse click on text field moves focus to widget and moves caret on field's content. If mouse click is on the field but there is no content in this place then the caret moves to the last position of the content.
# mouse click on text field moves focus to widget and moves caret on field's content. If mouse click is on the field but there is no content in this place then the caret moves to the last position of the content.
# when the focus leaves the text field then onchange handler should be performed
# when the focus leaves the text field then onchange handler should be performed
# double click and click on text field should moves the focus to widget
# double click and click on text field should moves the focus to widget


===INPUT type="radio"===
===INPUT type="radio"===

Navigation menu