Describe the bug
I am calling this a "bug."
Clicking the pencil/edit icon opens the embed link. The pencil is removed. If one clicks outside of the box it stays on the embed link. Here it should revert to the link if there is one and show the video.
To Reproduce
Steps to reproduce the behavior:
- Embed a youtube video.
- Click pencil/edit.
- Clicking outside the box the embed url box is still there. It should revert to last selected video.
- Looking for pencil to bring back the embed is not possible. One has to click the embed button.
Expected behavior
Clicking pencil/edit. Should keep the pencil icon visible. As one can click it once to open the embed url link box. Then click it again to close.
When link url box is visible and there is already a link in it. Clicking outside the box the box should revert back to the video.
Screenshots
Video options:

Clicking edit/pencil (the pencil is now hidden):

Desktop (please complete the following information):
- OS: Mac OS 10.13.6
- Browser Chrome and Desktop Server
- Gutenberg version 4.1.1
Describe the bug
I am calling this a "bug."
Clicking the pencil/edit icon opens the embed link. The pencil is removed. If one clicks outside of the box it stays on the embed link. Here it should revert to the link if there is one and show the video.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Clicking pencil/edit. Should keep the pencil icon visible. As one can click it once to open the embed url link box. Then click it again to close.
When link url box is visible and there is already a link in it. Clicking outside the box the box should revert back to the video.
Screenshots
Video options:

Clicking edit/pencil (the pencil is now hidden):

Desktop (please complete the following information):