UNPKG
slate-yjs
Version:
latest (3.2.0)
3.2.0
3.1.1
3.1.0
3.0.0
2.2.1
2.2.0
2.1.0
2.0.1
2.0.0
1.1.0
1.0.0
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
0.0.0
Yjs bindings for Slate.
github.com/BitPhinix/slate-yjs
BitPhinix/slate-yjs
slate-yjs
/
dist
/
module
/
applyToYjs
/
node
/
mergeNode.d.ts
10 lines
(9 loc)
•
263 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
import
{
MergeNodeOperation
}
from
'slate'
;
import
{
SharedType
}
from
'../../model'
;
/** * Applies a merge node operation to a SharedType. * *
@param
doc
*
@param
op
*/
export
default
function
mergeNode
(
doc: SharedType, op: MergeNodeOperation
):
SharedType
;