Add max size setting for Rich Text undo history in notebooks. (#15793)

This commit is contained in:
Cory Rivera
2021-06-18 16:04:45 -07:00
committed by GitHub
parent 2eab870ca2
commit d92c1d5ca8
3 changed files with 48 additions and 4 deletions

View File

@@ -325,6 +325,12 @@ configurationRegistry.registerConfiguration({
'default': false,
'description': localize('notebook.showRenderedNotebookinDiffEditor', "(Preview) Show rendered notebook in diff editor.")
},
'notebook.maxRichTextUndoHistory': {
'type': 'number',
'default': 200,
'minimum': 10,
'description': localize('notebook.maxRichTextUndoHistory', "The maximum number of changes stored in the undo history for the notebook Rich Text editor.")
}
}
});