Class: Editor

Editor()

new Editor()

Manage paste/message input, and preview tab Note that the actual preview is handled by PasteViewer.
Source:

Methods

(static) focusInput()

focuses the message input
Source:

(static) getText() → {string}

returns the current text
Source:
Returns:
Type
string

(static) hide()

hides the Editor
Source:

(static) init()

init status manager preloads jQuery elements
Source:

(static) isPreview()

get the state of the preview
Source:

(static) resetInput()

reset the Editor view
Source:

(static) setText(newText)

sets a new text
Parameters:
Name Type Description
newText string
Source:

(static) show()

shows the Editor
Source:

(static) supportTabs(event)

support input of tab character
This:
  • $message
Parameters:
Name Type Description
event Event
Source:

(static) viewEditor(event)

view the Editor tab
Parameters:
Name Type Description
event Event optional
Source:

(static) viewPreview(event)

view the preview tab
Parameters:
Name Type Description
event Event
Source: