package quill

  1. Overview
  2. Docs

Module Quill_editor.Dom_utilsSource

Sourceval log : ('a, unit, string, unit) format4 -> 'a
Sourceval node_list_to_list : Jv.t -> Brr_ext.El.t list
Sourceval get_element_inline_id : Brr_ext.El.t -> int option
Sourceval get_current_range : unit -> Brr_ext.Range.t option
Sourceval parse_id_from_string : prefix:string -> string -> int option
Sourceval find_ancestor : (Brr_ext.El.t -> bool) -> ?stop_at:Brr_ext.El.t -> Brr_ext.El.t -> Brr_ext.El.t option
Sourceval get_element_id_with_prefix : string -> Brr_ext.El.t -> int option
Sourceval get_element_block_id : Brr_ext.El.t -> int option
Sourceval get_element_run_id : Brr_ext.El.t -> int option
Sourceval get_element_codeblock_id : Brr_ext.El.t -> int option
Sourceval has_prefix_id : string -> Brr_ext.El.t -> bool
Sourceval find_block_parent : ?stop_at:Brr_ext.El.t -> Brr_ext.El.t -> Brr_ext.El.t option
Sourceval find_run_ancestor : Brr_ext.El.t -> Brr_ext.El.t option
Sourceval get_element_tag : Brr_ext.El.t -> string
Sourceval find_codeblock_ancestor : Brr_ext.El.t -> Brr_ext.El.t option
Sourceval has_class : Brr_ext.El.t -> string -> bool
Sourceval is_inline_id : string -> bool
Sourceval find_inline_ancestor : Brr_ext.El.t -> Brr_ext.El.t option
Sourceval contains_range_start : Brr_ext.Range.t -> Brr_ext.El.t -> bool
Sourceval get_node_value : Brr_ext.El.t -> string
Sourceval get_text_content : Brr_ext.El.t -> string
Sourceval inner_text : Brr_ext.El.t -> string
Sourceval is_span_with_text : Brr_ext.El.t -> string -> bool
Sourceval find_first_text_node : Brr_ext.El.t -> Brr_ext.El.t option
Sourceval find_next_block_element : Brr_ext.El.t -> Brr_ext.El.t option
Sourceval focus_element_start : Brr_ext.El.t -> unit
Sourceval get_caret_offset_within : Brr_ext.El.t -> int
Sourceval get_selection_offsets_within : Brr_ext.El.t -> int * int
Sourcetype traverse_result =
  1. | Found of {
    1. node : Brr_ext.El.t;
    2. position : int;
    }
  2. | Not_found of int
Sourceval traverse : Brr_ext.El.t -> int -> traverse_result
Sourceval get_text_node_at_position : Brr_ext.El.t -> int -> Brr_ext.El.t * int
Sourceval set_caret_offset_within : Brr_ext.El.t -> int -> unit
OCaml

Innovation. Community. Security.