Skip to content

Add support for autosave in markdown_editor

Himanshu Kapoor requested to merge himkp-ce-autosave into master

What does this MR do and why?

Add support for autosave in the markdown_editor component. By using an autosaveKey prop, the parent component can delegate the autosaving logic to this component, so that each time the value is edited by the user, it gets automatically saved or updated. When the value is removed, the autosave value is deleted.

This is one of the features we're adding in content editor to backfill support for existing features in the markdown editor to help introduce content editor in issues: !104463 (merged)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports