issues
search
xiwcx
/
monaco-automerge
https://monaco-automerge.onrender.com
0
stars
0
forks
source link
add automerge
#2
Closed
xiwcx
closed
1 week ago
xiwcx
commented
3 weeks ago
https://automerge.org/docs/quickstart/
https://automerge.org/docs/cookbook/rich-text-prosemirror-react/
example of how to create CRDT + Monaco binding:
https://github.com/yjs/y-monaco/blob/master/src/y-monaco.js
https://microsoft.github.io/monaco-editor/typedoc/interfaces/editor.ITextModel.html#onDidChangeContent
https://github.com/suren-atoyan/monaco-react/blob/master/src/Editor/Editor.tsx#L95-L116
example of controlled component that prevents triggering a change
https://codesandbox.io/s/883y2zmp6l?file=/src/MonacoControlled.js:746-1150
example of controlled monaco component
https://microsoft.github.io/monaco-editor/typedoc/enums/editor.EditorOption.html#readOnly