type t val build : Prosemirror.t -> t (** Create the elements to be declared inside the panel *) val get_event : t -> Editor_app.event Note.event (** Get the events triggered by the actions buttons *) 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. *)