package quill

  1. Overview
  2. Docs

Module Quill_editor.CommandSource

Sourcetype t =
  1. | Focus_inline of int
  2. | Focus_block of int
  3. | Set_document of Document.t
  4. | Replace_block_with_codeblock of int
  5. | Update_codeblock of {
    1. block_id : int;
    2. code : string;
    }
  6. | Request_code_execution of {
    1. block_id : int;
    2. code : string;
    }
  7. | Split_block of {
    1. block_id : int;
    2. inline_id : int;
    3. offset : int;
    }
  8. | Load_document of {
    1. path : string;
    }
  9. | Set_selection of State.selection
  10. | Clear_selection
  11. | Normalize_document
  12. | Undo
  13. | Redo
  14. | Save_document of {
    1. path : string;
    }
  15. | Request_copy_selection
  16. | Request_cut_selection
  17. | Request_paste_clipboard