What is the problem?
I have experienced a few cases while editing Describe your wish in the wish submission form where my edits have not been saved correctly.
This has happened for both the Source and Visual Editors.
Examples:
- In the Source Editor, adding a template via the editing toolbar saves nothing but newlines.
- With the cursor in the VisualEditor, if you click "Publish changes" (without first clicking outside of VE) any edits you made are not recorded (either it is a null edit or it might record a few newlines).
I haven't had much time to investigate this. It is possible that there are even more cases where this happens.
Steps to reproduce problem
Source Editor:
- Edit an existing wish with the wish submission form
- In Describe your wish, open the + menu in the editor toolbar and select "Template"
- Insert a template (for example, you could use the Colon template)
- Click "Publish changes"
Expected behaviour: The template you inserted appears in the wish.
Observed behaviour: No edit is recorded (no new change in the page history) or an edit that is just newlines.
VisualEditor:
- Edit an existing wish with the wish submission form
- The "Publish changes" button may be disabled. If so, enable it by clicking in the Describe your wish field and then outside again.
- Switch to VisualEditor
- Make some edits
- Without clicking on any other part of the form, click "Publish changes"
Expected behaviour: The changes you made appear in the wish.
Observed behaviour: No edit is recorded (no new change in the page history) or an edit that is just newlines.
Environment
Browser: Firefox 115
Wiki(s): https://wishlist-test.toolforge.org
Screenshots
Inserting a template with source editor:
The diff shows only a newline: