#28353 closed defect (bug) (fixed)
Changes are not saved in Visual editor until autosave runs
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.0 | Priority: | high |
Severity: | major | Version: | 4.0 |
Component: | Editor | Keywords: | needs-patch |
Focuses: | javascript | Cc: |
Description
- Go to "Add New Post" screen.
- Insert an image or enter some text in Visual editor.
- Quickly switch to Text editor. It will be blank.
- Switch back to Visual editor. It will be blank too.
If you wait for autosave to run, the changes will be saved.
If you enter the text in Text editor first and then switch to Visual editor, the changes will be saved too. However:
- Enter some text in Text editor.
- Switch to Visual editor and make some changes.
- Switch back to Text editor. Your changes will be lost.
Introduced in [28568].
Change History (4)
Note: See
TracTickets for help on using
tickets.
Confirmed, caused by change in the events order in https://github.com/tinymce/tinymce/commit/4422a8b6b7c9da3f958c648992cc53767b700607 (
self.hidden = true
is set beforeself.save()
). Fix coming up.