diff options
author | Sébastien Dailly <sebastien@chimrod.com> | 2021-06-01 13:11:58 +0200 |
---|---|---|
committer | Sébastien Dailly <sebastien@dailly.me> | 2022-02-07 16:43:33 +0100 |
commit | 72e3b16bbd258e63f047392c973ba5e8f0a823c8 (patch) | |
tree | 67f75383a9d20590587c648ecb5e3c78f6bd0044 /editor/editor.ml | |
parent | 54f6e68c051afec0d20c349352feee5356e11b35 (diff) |
Added export button in editor
Diffstat (limited to 'editor/editor.ml')
-rwxr-xr-x | editor/editor.ml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/editor.ml b/editor/editor.ml index 79ad54a..c80b426 100755 --- a/editor/editor.ml +++ b/editor/editor.ml @@ -2,6 +2,8 @@ open Brr module PM = Prosemirror module Js = Js_of_ocaml.Js +module Actions = Editor_actions + (** Create a new editor view [build_view element state] will create the editor and attach it to [element]. @@ -131,9 +133,7 @@ let app id content = (State.E ( () , (module Store:State.Event with type t = Store.t)))) editor - ; Note.E.map (fun ev -> ev) btn_events.Actions.delete - ; Note.E.map (fun ev -> ev) btn_events.Actions.add - ; Note.E.map (fun v -> v) btn_events.Actions.redirect + ; btn_events ]) in let () = |