diff options
author | Sébastien Dailly <sebastien@dailly.me> | 2022-02-07 15:27:05 +0100 |
---|---|---|
committer | Sébastien Dailly <sebastien@dailly.me> | 2022-02-07 16:43:33 +0100 |
commit | 28417d795a6922c3df3c2c0aea78a51648b0428e (patch) | |
tree | 28af6bd86e2127003855574b4c777efa1cd07207 /editor/state/state.mli | |
parent | 72e3b16bbd258e63f047392c973ba5e8f0a823c8 (diff) |
Added import button in editor
Diffstat (limited to 'editor/state/state.mli')
-rwxr-xr-x | editor/state/state.mli | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/editor/state/state.mli b/editor/state/state.mli index 20d5288..2f3e9c4 100755 --- a/editor/state/state.mli +++ b/editor/state/state.mli @@ -22,7 +22,10 @@ val state_of_storage : Prosemirror.t -> Storage.content Js.t -> Prosemirror.Model.schema Js.t -> Prosemirror.State.editor_state Js.t val load_page - : Jstr.t option -> t -> Storage.content Js.t -> t + : Jstr.t option -> t -> t + +val new_page + : Jstr.t option -> title:Jstr.t -> t -> t (** Initialise a new state *) val init |