bartbutenaers / node-red-contrib-blockly

A Node Red node for visual programming a function using Blockly
Apache License 2.0
89 stars 22 forks source link

Add a block for line feed or a Multi-Line text block #60

Closed AbdMIssa closed 3 years ago

AbdMIssa commented 3 years ago

Hi,

I'm trying to create some functions on Node-Red using Blockly, and I frequently need to input a "line feed" or a "new line" in my texts, but it seems impossible to do that with how the Blockly Node is right now.

cymplecy commented 3 years ago

It's in the pipeline to add a dedicated block for non-printable characters but not yet in current release

A workaround can be achieved by

image

bartbutenaers commented 3 years ago

Hi @AbdMIssa, We are working on a new release.
In the pull request of @jsccjj you can find a multi line text block (see screenshot here). Would that be a solution for your question?

Bart

bartbutenaers commented 3 years ago

A couple of new blocks have been added in the release-1.1.0 branch, to support multiline texts, multiline Js code, special characters. These will be published soon in our new beta version. Therefore I'm going to close this issue.