Problem/Motivation
This is a follow up to #2994699: Create a CKEditor plugin to select and embed a media item from the Media Library, and is blocked on that issue.
In #2994699-49: Wim Leers gave steps to reproduce a bug with the DrupalMediaLibrary CKEditor button's interaction with the "undo" button:
Steps to reproduce:
- Go to /node/add/article
- Click the "Insert from Media Library" button without giving focus to anything in CKEditor first
- Select media, insert it
Expected: Undo button is active.
Actual: It is not active.
If before step 2 you click inside the CKEditor iframe instance, or for example type something first, then the undo button does work as expected.
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | 3073294-11.patch | 1.05 KB | wim leers |
Comments
Comment #2
oknateComment #3
oknateComment #4
phenaproximaComment #6
wim leersI cannot reproduce this anymore. Can somebody else?
Comment #8
wim leers.
Comment #9
tanubansal commentedSame .. Can't reproduce
Comment #10
phenaproximaComment #11
wim leersWe should still delete the
@todofrom Drupal core that points here :)Comment #12
init90Comment #13
alexpottCommitted and pushed 11c0e0a609 to 9.3.x and 80435fc747 to 9.2.x. Thanks!