summaryrefslogtreecommitdiff
path: root/editor/actions/to_markdown.ml
diff options
context:
space:
mode:
Diffstat (limited to 'editor/actions/to_markdown.ml')
-rwxr-xr-xeditor/actions/to_markdown.ml8
1 files changed, 5 insertions, 3 deletions
diff --git a/editor/actions/to_markdown.ml b/editor/actions/to_markdown.ml
index c1ac774..80191f9 100755
--- a/editor/actions/to_markdown.ml
+++ b/editor/actions/to_markdown.ml
@@ -1,5 +1,7 @@
module Js = Js_of_ocaml.Js
module PM = Prosemirror
+module App = Editor_app
+
type buffer = Jstr.t Js.js_array Js.t
type f = (buffer -> PM.Model.node Js.t -> unit)
@@ -287,8 +289,8 @@ end
(** Create a new element *)
let create
- : PM.t -> State.event
+ : PM.t -> App.event
= fun pm ->
- State.E
+ App.E
( pm
- , (module ToMarkdown : State.Event with type t = ToMarkdown.t ))
+ , (module ToMarkdown : App.Event with type t = ToMarkdown.t ))