-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.0 M3, 7.0.0 M4
-
Fix Version/s: 7.0.0 M5
-
Component/s: CKEditor, ~ [Archived] Frontend Infrastructure
-
Labels:None
-
Story Points:6
-
Git Pull Request:
When two CKEditor instances are first opened and then the browser is resized; JS errors.
Any time the browser is resized content is lost.
Introduced by LPS-46302. LPS-46302 destroys the editors and reloads them. There shouldn't be any issue with doing this. One editor at a time works fine. This might be an issue with CKEditor. A demo with CKEditor alone would need to be created to verify.
Steps to Replicate:
- Place both Wiki & Message Boards on the same page.
- Click Edit on the Wiki FrontPage
- Click Post New Thread on the Message Boards
- Add content to both the Wiki & the Thread CKEditors
- Resize the browser significantly. Enough to trigger a phone/tablet breakpoint.
Expected Result:
- No JS errors.
- No loss of content.
Actual Result:
- JS error within CKEditor code. TypeError: Cannot read property 'destroy' of undefined
- Loss of entered content.
QA has a test that tests two CKEditors on the page. A similar test should be created to also resize the browser.
- causes
-
LPS-68712 CKEditor disappears when adding a comment to an asset when a comment already exists
- Closed
- duplicates
-
LPS-53647 CKEditor loses content on window resize
- Closed
- is caused by
-
LPS-46302 Dynamically load CKEditor toolbars on Window resize
-
- Closed
-
- is related to
-
LPS-53647 CKEditor loses content on window resize
- Closed
- Testing discovered
-
LPS-53462 Click 'All Pages' on Wiki porlet for the first time, will show "Wiki is temporarily unavailable"
- Closed