Skip to content
This repository was archived by the owner on Mar 29, 2024. It is now read-only.

Conversation

@alberttoledo
Copy link

@alberttoledo alberttoledo commented Sep 23, 2019

Custom classes for blocks

Just like passing a src to an image block, I would love to be able to add a custom class to a block when creating it.

Drawback is to remove the class, we would need to replace it with a new block without that class.

I am using the library for the first time today, and this occurred to me as I needed it myself, but it might be a premature request since I am not very familiar. I thought I would open a PR instead of an issue but if there is a better way to do this, or a good reason not to do it, please let me know.

Thanks for the library!

@alberttoledo alberttoledo force-pushed the master branch 4 times, most recently from 0e11d77 to ac77297 Compare September 24, 2019 14:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant