diff --git a/nodes/nodes.json b/nodes/nodes.json index fd63123..bbba58d 100644 --- a/nodes/nodes.json +++ b/nodes/nodes.json @@ -524,7 +524,7 @@ "name": "base", "types": [], "user": false, - "version": "0.6.3-b1" + "version": "0.6.5-b1" }, { "enabled": true, @@ -536,7 +536,7 @@ "Topic" ], "user": false, - "version": "0.6.3-b1" + "version": "0.6.5-b1" }, { "enabled": true, @@ -548,7 +548,7 @@ "Observation" ], "user": false, - "version": "0.6.3-b1" + "version": "0.6.5-b1" }, { "enabled": true, @@ -560,7 +560,7 @@ "Question" ], "user": false, - "version": "0.6.3-b1" + "version": "0.6.5-b1" }, { "enabled": true, @@ -572,7 +572,7 @@ "Thought" ], "user": false, - "version": "0.6.3-b1" + "version": "0.6.5-b1" }, { "enabled": true, @@ -584,7 +584,7 @@ "Idea" ], "user": false, - "version": "0.6.3-b1" + "version": "0.6.5-b1" }, { "enabled": true, @@ -596,7 +596,7 @@ "Dream" ], "user": false, - "version": "0.6.3-b1" + "version": "0.6.5-b1" }, { "enabled": true, @@ -608,7 +608,7 @@ "Metaphor" ], "user": false, - "version": "0.6.3-b1" + "version": "0.6.5-b1" }, { "enabled": true, @@ -620,7 +620,7 @@ "Aphorism" ], "user": false, - "version": "0.6.3-b1" + "version": "0.6.5-b1" }, { "enabled": true, @@ -632,7 +632,7 @@ "Poesie" ], "user": false, - "version": "0.6.3-b1" + "version": "0.6.5-b1" }, { "enabled": true, @@ -644,7 +644,7 @@ "Humour" ], "user": false, - "version": "0.6.3-b1" + "version": "0.6.5-b1" }, { "enabled": true, @@ -656,7 +656,7 @@ "Treasure" ], "user": false, - "version": "0.6.3-b1" + "version": "0.6.5-b1" }, { "enabled": true, @@ -668,7 +668,7 @@ "Consequence" ], "user": false, - "version": "0.6.3-b1" + "version": "0.6.5-b1" }, { "enabled": true, @@ -680,7 +680,7 @@ "Advantage" ], "user": false, - "version": "0.6.3-b1" + "version": "0.6.5-b1" }, { "enabled": true, @@ -692,7 +692,7 @@ "Disadvantage" ], "user": false, - "version": "0.6.3-b1" + "version": "0.6.5-b1" }, { "enabled": true, @@ -704,7 +704,7 @@ "Text" ], "user": false, - "version": "0.6.3-b1" + "version": "0.6.5-b1" }, { "enabled": true, @@ -716,7 +716,7 @@ "Blog-Post" ], "user": false, - "version": "0.6.3-b1" + "version": "0.6.5-b1" }, { "enabled": true, @@ -728,7 +728,7 @@ "Image" ], "user": false, - "version": "0.6.3-b1" + "version": "0.6.5-b1" }, { "enabled": true, @@ -740,7 +740,7 @@ "Comment" ], "user": false, - "version": "0.6.3-b1" + "version": "0.6.5-b1" }, { "enabled": true, @@ -752,7 +752,7 @@ "Code-Base" ], "user": false, - "version": "0.6.3-b1" + "version": "0.6.5-b1" }, { "enabled": true, @@ -764,7 +764,7 @@ "Art" ], "user": false, - "version": "0.6.3-b1" + "version": "0.6.5-b1" }, { "enabled": true, @@ -776,7 +776,7 @@ "Learning" ], "user": false, - "version": "0.6.3-b1" + "version": "0.6.5-b1" }, { "enabled": true, @@ -788,7 +788,7 @@ "Inspiration" ], "user": false, - "version": "0.6.3-b1" + "version": "0.6.5-b1" }, { "enabled": true, @@ -800,7 +800,7 @@ "Quote" ], "user": false, - "version": "0.6.3-b1" + "version": "0.6.5-b1" }, { "enabled": true, @@ -812,7 +812,7 @@ "Definition" ], "user": false, - "version": "0.6.3-b1" + "version": "0.6.5-b1" }, { "enabled": true, @@ -824,7 +824,7 @@ "Bookmark" ], "user": false, - "version": "0.6.3-b1" + "version": "0.6.5-b1" }, { "enabled": true, @@ -836,7 +836,7 @@ "Book" ], "user": false, - "version": "0.6.3-b1" + "version": "0.6.5-b1" }, { "enabled": true, @@ -848,6 +848,6 @@ "Author" ], "user": false, - "version": "0.6.3-b1" + "version": "0.6.5-b1" } ] diff --git a/plugins/plugins.html b/plugins/plugins.html index f6c9aad..86881b3 100644 --- a/plugins/plugins.html +++ b/plugins/plugins.html @@ -1340,22 +1340,26 @@ +`,t.type="Image"),l(t)},error:e=>{var t={...p(0),type:"Bookmark",name:r,info:n+"\n\n",createdAt:new Date(a.dateAdded/1e3).toISOString(),updatedAt:new Date(a.lastModified/1e3).toISOString()};l(t)}})})(JSON.parse(c["text/x-moz-place"][0].content)):"text/x-moz-url"in c?g(c["text/x-moz-url"][0]):"text/uri-list"in c&&g(c["text/uri-list"][0]):Object.keys(c).forEach(e=>{g(c[e][0])})},defineCustomDropHandler=()=>{0<$("#red-ui-drop-target").length?$("#red-ui-drop-target").on("drop",customDropHandler):setTimeout(defineCustomDropHandler,300)};setTimeout(defineCustomDropHandler,300); + $(window).on("paste",e=>{try{window.pasteEvent=e;var a=RED.settings.version.split(".")[0];if(e.target&&(("3"!=a||"red-ui-header"==e.target.id||"red-ui-workspace-chart"==e.target.id)&&("4"!=a||"span"==e.target.tagName.toLowerCase()||$(e.target).hasClass("red-ui-header-logo")))){var t=e.originalEvent.clipboardData.getData("text"),r=JSON.parse(t);if(Array.isArray(r))try{RED.view.importNodes(r,{generateIds:!1,addFlow:!1,touchImport:!1,generateDefaultNames:!1})}catch(e){RED.notify("Error: "+e.message,{type:"warning"})}}}catch(e){RED.notify("Error: "+e.message,{type:"warning"})}}); + }; + + RED.events.on('runtime-state', initialiseConfigNodeOnce); +})(); +