mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 17:06:16 -04:00
ImportHandler: Use truthiness to signal conversion handled
This commit is contained in:
parent
edf99dc811
commit
caf4e9f28c
2 changed files with 4 additions and 7 deletions
|
@ -812,8 +812,8 @@ exports.exportEtherpadAdditionalContent = () => ['comments'];
|
|||
Called from: `src/node/handler/ImportHandler.js`
|
||||
|
||||
Called when a user submits a document for import, before the document is
|
||||
converted to HTML. The hook function should return `undefined` (or an empty
|
||||
list) if it did NOT convert convert the document to HTML.
|
||||
converted to HTML. The hook function should return a truthy value if the hook
|
||||
function elected to convert the document to HTML.
|
||||
|
||||
Context properties:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue