Skip to content

The add-on does not work when using only the keyboard #5

@Korb

Description

@Korb

Describe the bug
If the context menu is invoked by the corresponding keyboard key, the add-on does not perform any action on the selected text.

To Reproduce
Steps to reproduce the behavior:

  1. On any web page with a text input field, select a piece of text using the keyboard or mouse cursor.
  2. Use the arrows on the keyboard to select the item "bbCodeWebex"
  3. Use the arrows on the keyboard to select the item "bbCode", "HTML", "XHTML", "Custom Tags", "Markdown", or "Symbols".
  4. Use the arrows on the keyboard to select the item "Clipboard", "WebEx", "VBulletin3", "Bold", "Italic", "Underlined", "Image", "URL", etc., and confirm the selection by pressing the Enter button.
  5. Nothing happens, the selected tags do not appear.

Expected behavior
The add-in decorates the selected text with the tags specified in the context menu, regardless of whether the context menu is invoked using the RMB or the keyboard context menu key.

Desktop (please complete the following information):

  • OS: Microsoft Windows 10.0.19042.964
  • Browser: Mozilla Firefox
  • Version: 89.0b7 (64-bit)

Additional context
The error is "floating". Inserting tags may not work on the same web page in the same input field, but after several attempts to work. Or vice versa. However, using the mouse always inserts. Another thing is that it is more convenient and faster for me to type and format text without using a mouse.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions