mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
docs
This commit is contained in:
parent
3a2669b704
commit
fccfc3bd41
1 changed files with 18 additions and 0 deletions
|
@ -298,6 +298,24 @@ exports.exportFileName = function(hook, padId, callback){
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## exportHtmlAdditionalTags
|
||||||
|
Called from src/node/utils/ExportHtml.js
|
||||||
|
|
||||||
|
Things in context:
|
||||||
|
|
||||||
|
1. Pad object
|
||||||
|
|
||||||
|
This hook will allow a plug-in developer to include more properties and attributes to support during HTML Export. An Array should be returned.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
```
|
||||||
|
// Add the props to be supported in export
|
||||||
|
exports.exportHtmlAdditionalTags = function(hook, pad, cb){
|
||||||
|
var padId = pad.id;
|
||||||
|
cb(["massive","jugs"]);
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
## userLeave
|
## userLeave
|
||||||
Called from src/node/handler/PadMessageHandler.js
|
Called from src/node/handler/PadMessageHandler.js
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue