aboutsummaryrefslogtreecommitdiff
path: root/editor/quill.mli
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2022-02-07 15:54:32 +0100
committerSébastien Dailly <sebastien@dailly.me>2022-02-07 16:43:33 +0100
commitf4a59ed2811d4dca2daad58d083078c01488dd11 (patch)
tree85a5ad0e6bf7bdd07834a5cf565d8a5992844f5f /editor/quill.mli
parentcdd83641518d9b20e81f71e6a30bfe73866df2e8 (diff)
Added prosemirror deps
Diffstat (limited to 'editor/quill.mli')
-rwxr-xr-xeditor/quill.mli70
1 files changed, 0 insertions, 70 deletions
diff --git a/editor/quill.mli b/editor/quill.mli
deleted file mode 100755
index 7405102..0000000
--- a/editor/quill.mli
+++ /dev/null
@@ -1,70 +0,0 @@
-open Brr
-
-(** Constructor options *)
-type options
-
-val options
- : unit -> options
-
-val bounds
- : (options, El.t) J.prop
-
-val debug
- : (options, Jstr.t) J.prop
-
-val placeholder
- : (options, Jstr.t) J.prop
-
-val readonly
- : (options, Jstr.t) J.prop
-
-val theme
- : (options, Jstr.t) J.prop
-
-val scrollingContainer
- : (options, El.t) J.prop
-
-type delta
-
-val delta_to_json
- : delta -> Json.t
-
-val delta_of_json
- : Json.t -> delta
-
-type operations
-
-val ops
- : (delta, operations) J.prop
-
-type t
-
-(** Constructor.
-
- [quill element] will create the editor inside the given element
-
-*)
-val quill
- : ?options:options -> El.t -> (t, Jv.Error.t) Result.t
-
-
-(** Return the editor content *)
-val get_contents
- : t -> delta
-
-val set_contents
- : t -> delta -> unit
-
-(** [extract_content t index length] return the content starting from index,
- with length elements *)
-val extract_contents
- : t -> int -> int -> delta
-
-val on_text_change
- : t -> (string -> string -> string -> unit) -> unit
-
-(* [update_contents t delta] replace the content with the commands given
- by delta.
-*)
-val update_contents
- : t -> delta -> delta