Skip to content

Commit

Permalink
The doc reset action should not reset the word wrap setting (#1455)
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio-Maranhao authored Jun 14, 2024
1 parent 55b75bf commit 70adc2a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/addons/documents/doc-editor/reducers.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ export default function docEditor (state = initialState, action) {

case ActionTypes.RESET_DOC:
return {
...initialState
...initialState,
docEditorPreferences: state.docEditorPreferences
};

case ActionTypes.DOC_LOADED:
Expand Down

0 comments on commit 70adc2a

Please sign in to comment.