Revision 551d4b78
Von Moritz Bunkus vor mehr als 10 Jahren hinzugefügt
SL/ClientJS.pm | ||
---|---|---|
65 | 65 |
removeData => 2, |
66 | 66 |
|
67 | 67 |
# Form Events |
68 |
focus => 1, |
|
68 |
focus => 1, # kivi.set_focus(<TARGET>)
|
|
69 | 69 |
|
70 | 70 |
# Generic Event Handling ## pattern: $(<TARGET>).<FUNCTION>(<ARG1>, kivi.get_function_by_name(<ARG2>)) |
71 | 71 |
on => 3, |
... | ... | |
106 | 106 |
'jstree:deselect_node' => 2, |
107 | 107 |
'jstree:deselect_all' => 1, |
108 | 108 |
|
109 |
# ## ckeditor stuff ## |
|
110 |
'focus_ckeditor' => 1, # kivi.focus_ckeditor_when_ready(<TARGET>) |
|
111 |
|
|
109 | 112 |
# ## other stuff ## |
110 | 113 |
redirect_to => 1, # window.location.href = <TARGET> |
111 | 114 |
|
... | ... | |
201 | 204 |
return $self; |
202 | 205 |
} |
203 | 206 |
|
207 |
sub ckeditor { |
|
208 |
my ($self) = @_; |
|
209 |
$self->{_prefix} = 'ckeditor:'; |
|
210 |
return $self; |
|
211 |
} |
|
212 |
|
|
204 | 213 |
sub flash { |
205 | 214 |
my ($self, $type, @messages) = @_; |
206 | 215 |
|
Auch abrufbar als: Unified diff
kivi.js: ckeditor über Klasse »texteditor« nutzen können