1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Merge pull request #2849 from node-red-hitachi/fix-copy-to-clipboard

fix line break of exporting nodes to clipboard
This commit is contained in:
Nick O'Leary 2021-02-16 15:50:24 +00:00 committed by GitHub
commit efd8c3d6d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1243,7 +1243,7 @@ RED.clipboard = (function() {
init: function() {
setupDialogs();
$('<input type="text" id="red-ui-clipboard-hidden" tabIndex="-1">').appendTo("#red-ui-editor");
$('<textarea type="text" id="red-ui-clipboard-hidden" tabIndex="-1">').appendTo("#red-ui-editor");
RED.actions.add("core:show-export-dialog",showExportNodes);
RED.actions.add("core:show-import-dialog",showImportNodes);