Class type Goog.Geditor.Plugins.tagOnEnterHandler
class type tagOnEnterHandler = object..end
Inherits
method activeOnUneditableFields : bool Js.t Js.meth
Returns If true, field will not disable the command
when the field becomes uneditable.
method getNonCollapsingBlankHtml : Js.js_string Js.t Js.meth
Gets HTML with no contents that won't collapse, for browsers that collapse the empty string.
Returns Blank html.
method getTrogClassId : Js.js_string Js.t Js.meth
Returns The ID unique to this plugin class. Note that different
instances off the plugin share the same classId.
method handleBackspaceInternal :
'a 'b.
(#Goog.Events.event as 'a) Js.t ->
(#Goog.Gdom.abstractRange as 'b) Js.t -> unit Js.meth
Internal backspace handler.
method handleDeleteGecko :
'c. (#Goog.Events.event as 'c) Js.t -> unit Js.meth
Internal delete key handler.
method handleEnterAtCursorGeckoInternal :
'd 'e.
(#Goog.Events.event as 'd) Js.t ->
bool Js.t -> (#Goog.Gdom.abstractRange as 'e) Js.t -> unit Js.meth
Handle an enter key press on collapsed selection. handleEnterGecko_ ensures the selection is collapsed by deleting its contents if it is not. The default implementation does nothing.
method handleEnterWebkitInternal :
'f. (#Goog.Events.browserEvent as 'f) Js.t -> unit Js.meth
Handle an enter key press in WebKit.
method handleKeyUpInternal :
'g. (#Goog.Events.event as 'g) Js.t -> unit Js.meth
Internal handler for keyup events.
method isSupportedCommand : Js.js_string Js.t -> bool Js.t Js.meth
Whether the string corresponds to a command this plugin handles.
Returns Whether the plugin handles this type of command.
method processParagraphTagsInternal :
'h. (#Goog.Events.event as 'h) Js.t -> bool Js.t Js.meth -> unit Js.meth
Fix paragraphs to be the correct type of node.
