Function: diffSourcePlugin()

diffSourcePlugin(params?): RealmPlugin

Parameters

ParameterTypeDescription
params?object-
params.codeMirrorExtensions?Extension[]Optional, additional CodeMirror extensions to load in the diff/source mode.
params.diffMarkdown?stringThe markdown to show in the diff editor.Default''
params.readOnlyDiff?booleanSet the diff editor to read-only.Defaultfalse
params.viewMode?ViewModeThe initial view mode of the editor.Default'rich-text'

Returns

RealmPlugin