summaryrefslogtreecommitdiff
path: root/editor/prosemirror/bindings.ml
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2021-02-15 23:03:21 +0100
committerSébastien Dailly <sebastien@dailly.me>2022-02-07 16:43:33 +0100
commit274789e733c46e7e20fc1dc918a7251b0206b3d2 (patch)
treed8f07ef584765dd178cc1c3cfa2ef925ffaa636b /editor/prosemirror/bindings.ml
parente612a344629b999e90089710646e7a0bc68597d2 (diff)
Working key handler
Diffstat (limited to 'editor/prosemirror/bindings.ml')
-rwxr-xr-xeditor/prosemirror/bindings.ml9
1 files changed, 6 insertions, 3 deletions
diff --git a/editor/prosemirror/bindings.ml b/editor/prosemirror/bindings.ml
index f6d4223..cb5a47c 100755
--- a/editor/prosemirror/bindings.ml
+++ b/editor/prosemirror/bindings.ml
@@ -365,6 +365,9 @@ module Transform = struct
method replaceRangeWith:
int -> int -> Model.node t -> 'this t meth
+ method setBlockType:
+ int -> int -> Model.node_type t -> < .. > t -> 'this t meth
+
end
end
@@ -650,13 +653,13 @@ module Example = struct
Model.schema t prop
method menuBar:
- bool opt prop
+ bool t opt prop
method floatingMenu:
- bool opt prop
+ bool t opt prop
method history:
- bool opt prop
+ bool t opt prop
end
end