addContentParser
void oBXEditorUtils.addContentParser( function handler );
The method adds a specified handler function to which the document content will be passed to be processed, in the HTML format.
A handler function added using this method will process the document content at the load time, and when switching from the HTML mode to visual mode.
Parameters
Parameter | Description |
---|---|
handler | Globally declared handler function. A handler receives a string with the content. The handler function returns a string if any change took place, or false otherwise. |
© «Bitrix24», 2001-2024