Enterprise: Editor: Esc in image or hyperlink dialog should be equal to Cancel instead of yes

Created on 24 Aug 2020  路  2Comments  路  Source: infor-design/enterprise

Describe the bug
I'm not sure if this is a bug or feature request. I think that when a user perss the ESC key when adding an image or a hyperlink that should be interpreted as Cancel. Currently it is interpreted as Insert

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://design.infor.com/code/ids-enterprise/latest/demo/components/editor/example-index.html
  2. Click on the Image or Hyperlink button
  3. When the dialog is shown press the ESC key
  4. See error, the image/hyperlink is added to the text.

Expected behavior
The image/hyperlink should not be added to the text, I believe the dialog should be Cancelled on ESC.

Version

  • ids-enterprise: 4.31.1

Screenshots
-

Platform

  • Infor Application/Team Name: Homepages
  • OS Version: Windows 10
  • Browser Name: Chrome
  • Browser Version: Version 84.0.4147.135 (Official Build) (64-bit)

Additional context
-

[2] homepages type

All 2 comments

No i think its a bug - and that it should cancel on ESC. Thats the normal behavior

QA Passed
works both in image and hyperlink. thank you
v4.33.0-dev
https://master-enterprise.demo.design.infor.com/components/editor/example-index.html

Was this page helpful?
0 / 5 - 0 ratings