Comments (1)
Hi,
Thank you for the suggestion. However, it will not be feasible to implement. Block definitions only define the block itself and do not have an inherent toolbox category associated with them. The toolbox category and its contents are defined by the toolbox definition and that is the only way blocks are associated with categories. A block may appear in multiple toolbox categories or none at all. The same block definition may be used in multiple applications with different toolbox categories.
If you'd like to style multiple blocks at once without specifying an explicit color, you can use the theme system. Themes are a way to define a style once and apply it to blocks by name, which is similar to what you're proposing here.
from blockly.
Related Issues (20)
- Update Blockly code demo to pull in colour blocks from plugins HOT 2
- Mutated procedures_ifreturn detaches child block, but undoing doesn't reattach it.
- In rc/v11.0.0 you can't redo drag changes that disable blocks HOT 1
- 11.0.0-beta.4 can't import languages in TypeScript HOT 4
- input fields fire change events on invalid input before change is committed
- ctrl+click does not open context menu in firefox on mac HOT 6
- Include Tutorial about MutatorIcon HOT 1
- Clean up case-sensitivity in registry
- Android 28,can not open soft keyboard HOT 4
- Add visual tests for workspace comments
- Fixup types on getCommentById and related
- Fix context menu option(s) for workspace comments
- Fix and export keyboard shortcuts for workspace comments
- Add selection support for workspace comments
- Wire together copy paste for workspace comments
- Version names that start with 'blockly' are not recognised by bower
- check lint settings for tsdoc params
- Document positionables
- Deleting large amounts of blocks takes forever HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blockly.