From 274789e733c46e7e20fc1dc918a7251b0206b3d2 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Mon, 15 Feb 2021 23:03:21 +0100 Subject: Working key handler --- editor/prosemirror/bindings.ml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'editor/prosemirror/bindings.ml') 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 -- cgit v1.2.3