Namespace: Aloha.Editable
Aloha Defined in: editable.js.
Class Methods
Class Method Detail
getContentSerializer
Gets the content serializer function.
- Returns:
- !Function The serializer function.
setContentSerializer
Sets the content serializer function.
The default content serializer will just call the jQuery
.html()
function on the editable element (which gets the innerHTML
property).
This method is a static class method and will affect the result of editable.getContents() for all editables that have been or will be constructed.
- Parameters:
- !Function serializerFunction
- A function that accepts a DOM element and returns the serialized XHTML of the element contents (excluding the start and end tag of the passed element).
Documentation generated by JsDoc Toolkit 2.4.0 on Mon Sep 03 2012 14:19:54 GMT+0200 (CEST)