blockly-samples icon indicating copy to clipboard operation
blockly-samples copied to clipboard

/demos/block factory colour_hue type support RRGGBB hex string

Open mlzboy opened this issue 2 years ago • 2 comments

Problem

/demos/block factory colour_hue type do not support RRGGBB hex string

Request

we could use this.setColour("#FF0000") by hand,but if block factory support this is great,currently,in block factory only support hue number could use visual graphic editor I have tried to modify it ,but output is null what I want is #FF0000,sorry my code level is not good. image

Alternatives considered

GIF 2023-7-26 6-22-33 currently I hard code write seven color block,if could dynamic add color is prefered

Additional context

I made a mistake Label with doc,in fact it's a new feature request,but didn't find how to change this tag

mlzboy avatar Jun 24 '23 16:06 mlzboy

@mlzboy: I changed the tag and also changed the titles to match the ones in the feature request template. Would you be so kind as to go back and edit the request to fill in the "Problem" and "Alternatives considered" sections?

cpcallen avatar Jun 27 '23 16:06 cpcallen

Should this be closed since the old developer tools were deprecated? There is still no hex block with the new developer tools, but those are located in the blockly-samples repository.

UCYT5040 avatar Aug 03 '24 13:08 UCYT5040