Liking cljdoc? Tell your friends :D

web.primitives.sdk.text-editor

EddTextEditor / RawTextEditor. The editor uses el-id as its id and derives the editable area and the edit / save / discard buttons from it.

EddTextEditor / RawTextEditor. The editor uses el-id as its id and derives
the editable area and the edit / save / discard buttons from it.
raw docstring

discard!clj

(discard! el-id)

Press Discard and wait for the editor to return to read mode.

Press Discard and wait for the editor to return to read mode.
raw docstring

editing?clj

(editing? el-id)

True when the rich text editor is in edit mode.

True when the rich text editor is in edit mode.
raw docstring

save!clj

(save! el-id)

Press Save and wait for the editor to return to read mode.

Press Save and wait for the editor to return to read mode.
raw docstring

start-editing!clj

(start-editing! el-id)

Press the edit (pencil) button shown in read mode.

Press the edit (pencil) button shown in read mode.
raw docstring

textclj

(text el-id)

Plain text of the editor, in edit or read mode.

Plain text of the editor, in edit or read mode.
raw docstring

type!clj

(type! el-id text)

Append text at the end of the editor content.

Append text at the end of the editor content.
raw docstring

wait-ready!clj

(wait-ready! el-id)

SunEditor mounts asynchronously. Wait until the editor is shown in either edit mode (editable area) or read mode (edit button).

SunEditor mounts asynchronously. Wait until the editor is shown in
either edit mode (editable area) or read mode (edit button).
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close