aboutsummaryrefslogtreecommitdiff
path: root/editor/actions/editor_actions.mli
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2022-02-07 16:40:45 +0100
committerSébastien Dailly <sebastien@dailly.me>2022-02-07 16:43:33 +0100
commit8d23a029c57be92a7aed0f18d9fcf1c931c1038e (patch)
tree5bce8907c420b171de9f49679045723aad03e247 /editor/actions/editor_actions.mli
parent6f1b152a6927171b0c0bfed207307ed1bac1900d (diff)
Reformat
Diffstat (limited to 'editor/actions/editor_actions.mli')
-rwxr-xr-xeditor/actions/editor_actions.mli9
1 files changed, 3 insertions, 6 deletions
diff --git a/editor/actions/editor_actions.mli b/editor/actions/editor_actions.mli
index b1ac054..6f3421a 100755
--- a/editor/actions/editor_actions.mli
+++ b/editor/actions/editor_actions.mli
@@ -1,16 +1,13 @@
type t
+val build : Prosemirror.t -> t
(** Create the elements to be declared inside the panel *)
-val build
- : Prosemirror.t -> t
+val get_event : t -> Editor_app.event Note.event
(** Get the events triggered by the actions buttons *)
-val get_event
- : t -> Editor_app.event Note.event
+val complete : t -> State.t Note.signal -> Brr.El.t list
(** Finalize the creation, register the handler to state update, and return the
dom elements.
Raise an error if already completed. *)
-val complete
- : t -> State.t Note.signal -> Brr.El.t list