mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 07:35:05 -04:00
docs
This commit is contained in:
parent
6080de9d79
commit
2218cbd252
2 changed files with 22 additions and 0 deletions
|
@ -247,6 +247,23 @@ Things in context:
|
|||
|
||||
This hook will allow a plug-in developer to re-write each line when exporting to HTML.
|
||||
|
||||
## stylesForExport
|
||||
Called from: src/node/utils/ExportHtml.js
|
||||
|
||||
Things in context:
|
||||
|
||||
1. padId - The Pad Id
|
||||
|
||||
This hook will allow a plug-in developer to append Styles to the Exported HTML.
|
||||
|
||||
Example:
|
||||
|
||||
```
|
||||
exports.stylesForExport = function(hook, context){
|
||||
return("body{margin-left:20px;body{color:orange}");
|
||||
}
|
||||
```
|
||||
|
||||
## exportFileName
|
||||
Called from src/node/handler/ExportHandler.js
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue