diff options
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 () = |