flare.viur.widgets.htmleditor

Module Contents

Classes

TextInsertImageAction

Extended version for a button with a text and icon, which binds itself to an event function.

HtmlEditor

Attributes

summernoteEditor

flare.viur.widgets.htmleditor.summernoteEditor
class flare.viur.widgets.htmleditor.TextInsertImageAction(summernote, id, *args, **kwargs)

Bases: flare.button.Button

Extended version for a button with a text and icon, which binds itself to an event function.

onClick(sender=None)
onSelectionActivated(selectWdg, selection)
static isSuitableFor(modul, handler, actionName)
resetLoadingState()
class flare.viur.widgets.htmleditor.HtmlEditor(*args, **kwargs)

Bases: flare.html5.Textarea

initSources = False
_attachSummernote(retry=0)
onAttach()
onDetach()
onEditorChange(e, *args, **kwargs)
_getValue()
_setValue(val)
enable()

Enables an element, in case it is not already enabled.

disable()

Disables an element, in case it is not already disabled.

On disabled elements, events are not triggered anymore.