mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Updated Design: external file for function and templates nodes (markdown)
parent
54b9c2d9df
commit
a049bc67f8
@ -10,4 +10,6 @@ We know some third party nodes do this but we think this should be integrated in
|
||||
We propose the addition of a checkbox named `Load from external file` just above the code field. Checking this checkbox would make a field appear where the user can type the path to a file, similar to the `file-in` node. Given the fact some cloud environment are not compatible with a traditional file system, a setting named `allowExternalFiles` could be added in `settings.js` to disable this feature entirely.
|
||||
|
||||
## Exporting flows
|
||||
This brings one problem, what happens when someone exports a flow ? We propose the addition of a checkbox in the flow export dialog named `Embed external files` that would embed the external file contents within the exported flow making sharing of that flow possible.
|
||||
This brings one problem, what happens when someone exports a flow ? We propose the addition of a checkbox in the flow export dialog named `Embed external files` that would embed the external file contents within the exported flow making sharing of that flow possible.
|
||||
|
||||
Another possibility would be to have some sort of `Export project` option that would export a zip file containing the flow file, settings.js, lib folder and external files.
|
Loading…
Reference in New Issue
Block a user