Function: diffSourcePlugin()
diffSourcePlugin(
params
?):RealmPlugin
Parameters
Parameter | Type | Description |
---|---|---|
params ? | object | - |
params.codeMirrorExtensions ? | Extension [] | Optional, additional CodeMirror extensions to load in the diff/source mode. |
params.diffMarkdown ? | string | The markdown to show in the diff editor.Default'' |
params.readOnlyDiff ? | boolean | Set the diff editor to read-only.Defaultfalse |
params.viewMode ? | ViewMode | The initial view mode of the editor.Default'rich-text' |