flare.viur.widgets.htmleditor
¶
Module Contents¶
Classes¶
Extended version for a button with a text and icon, which binds itself to an event function. |
|
Attributes¶
- flare.viur.widgets.htmleditor.summernoteEditor¶
- class flare.viur.widgets.htmleditor.TextInsertImageAction(summernote=None, boneName='', *args, **kwargs)¶
Bases:
flare.button.Button
Extended version for a button with a text and icon, which binds itself to an event function.
- onClick(self, sender=None)¶
- onSelectionActivated(self, selectWdg, selection)¶
- static isSuitableFor(modul, handler, actionName)¶
- resetLoadingState(self)¶
- class flare.viur.widgets.htmleditor.HtmlEditor(*args, **kwargs)¶
Bases:
flare.html5.Textarea
- initSources = False¶
- _attachSummernote(self, retry=0)¶
- onAttach(self)¶
- onDetach(self)¶
- onEditorChange(self, e, *args, **kwargs)¶
- _getValue(self)¶
- _setValue(self, val)¶
- enable(self)¶
Enables an element, in case it is not already enabled.
- disable(self)¶
Disables an element, in case it is not already disabled.
On disabled elements, events are not triggered anymore.