Module

Quill.API

Package
purescript-quill
Repository
jmackie/purescript-quill

Re-exports from Quill.API.API

#API Source

type API eff a = ExceptT MultipleErrors (Eff eff) a

API calls are effectful, and may also fail in handling the returned value.

#runAPI Source

runAPI :: forall eff a. API eff a -> Eff eff (Either MultipleErrors a)

#handleReturn Source

handleReturn :: forall eff a. (Foreign -> F a) -> Foreign -> API eff a

Re-exports from Quill.API.Content

#updateContents Source

#setText Source

#setContents Source

#insertEmbed Source

#getLength Source

#deleteText Source

Re-exports from Quill.API.Editor

#update Source

update :: forall eff. Source -> Editor -> Eff (quill :: QUILL | eff) Unit

https://quilljs.com/docs/api/#update

#focus Source

focus :: forall eff. Editor -> API (quill :: QUILL | eff) Unit

https://quilljs.com/docs/api/#focus

#enable Source

#disable Source

#blur Source

blur :: forall eff. Editor -> API (quill :: QUILL | eff) Unit

https://quilljs.com/docs/api/#blur

Re-exports from Quill.API.Events

#onTextChange Source

onTextChange :: forall eff. (Ops -> Ops -> Source -> Eff eff Unit) -> (MultipleErrors -> Eff eff Unit) -> Editor -> API (quill :: QUILL | eff) Unit

https://quilljs.com/docs/api/#text-change

#onSelectionChange Source

#fallbackIgnore Source

fallbackIgnore :: forall eff. MultipleErrors -> Eff eff Unit

Re-exports from Quill.API.Formatting

#removeFormat Source

Re-exports from Quill.API.Selection

#setSelection Source