Opened 8 years ago
Last modified 7 years ago
#14809 closed Bug
Calling insertElement() in Edge before clicking into editor gives error — at Initial Version
Reported by: | Mark Wade | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.5.2 |
Keywords: | Edge | Cc: |
Description
Steps to reproduce
- Download the attached file, and edit line 6 to point to correct CKEditor path which has the "Div Editing Area" plugin enabled
- Load it in the latest version of Edge
- Click the "Click Me" button.
Expected result
"Hello, World!" appears inside the editor
Actual result
The contents of the editor do not change, and the following error is logged to the console:
SCRIPT5007: Unable to get property 'checkReadOnly' of undefined or null reference
Other details (browser, OS, CKEditor version, installed plugins)
Seems to happen when calling insertElement() before the user has clicked into the editor (this is common in our usage, as we have a "Quote" button next to all posts, which initiates an editor and then inserts the quoted post into it).
Happens in the latest version of Edge (38) but doesn't happen in older versions (14 is the latest available on Browser Stack and it doesn't happen there - but it seems to be the most recent update as this issue has only recently been reported to us) or in any other browser.
Does not happen unless the Div Editing Area plugin is present.
Bug report in our system: https://invisionpower.com/4bugtrack/active-reports/41132-edge-wont-quote-a-post-r12195/