Loading
fix: #3639725 Text editor shows and saves the old value after Back
Fixes #3639725.
On pageshow with persisted: false, editor.js attaches the text editor again when the browser restored the textarea or the text format select after attach. At attach and on that pageshow, the field is marked as changed when its value differs from defaultValue and data-editor-value-original. The original value is not treated as a change.
EditorRestoredFormValuesTest covers a restored value, a restored format, a value restored before attach, and pages where nothing should be rebuilt.
Generated with the help of an LLM.