Namespace: Aloha.Editable
Aloha Defined in: editable.js.
Class Methods
Class Method Detail
setContentSerializer
Sets the serializer function to be used for the contents of all editables.
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:
- 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 Wed Jun 27 2012 17:55:47 GMT+0200 (CEST)