Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we generate our own templates? #6

Open
TheComputerM opened this issue Sep 19, 2018 · 1 comment
Open

Can we generate our own templates? #6

TheComputerM opened this issue Sep 19, 2018 · 1 comment

Comments

@TheComputerM
Copy link

Can we make our own blocks and import them?

@ronaldaug
Copy link
Owner

ronaldaug commented Oct 9, 2018

Sure, you can. But Gramateria doesn't have that option yet.
You can append Blocks Here

A custom block would be something like this.

                {
                id: ..., // unique ID name
                label: ... , // Block name 
                category: ... , // Block category
                content:  ..., // Block HTML/CSS/JS
                     attributes: {
                        class: 'fa fa-window-maximize' // Block icon ( font-awesome 4 )
                     }
               }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants