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 i use coderedcms blocks in pure wagtail #539

Open
dima23113 opened this issue Nov 23, 2022 · 1 comment
Open

Can i use coderedcms blocks in pure wagtail #539

dima23113 opened this issue Nov 23, 2022 · 1 comment
Labels
Type: Question Further information is requested

Comments

@dima23113
Copy link

Hi! Can i use coderedcms blocks in pure wagtail? On a pure wagtail 4.0, I need blocks of your extension. How can they be used? I found a package for bootstrap 4, but not for 5.

@dima23113 dima23113 added the Type: Question Further information is requested label Nov 23, 2022
@vsalvino
Copy link
Contributor

There's not much to it. Import what you want from coderedcms.blocks and add them to your streamfield same as you would with normal wagtail blocks. Complete list of blocks is here: https://docs.coderedcorp.com/wagtail-crx/features/blocks/index.html

You can see how we implement our HTML streamfield here, for example: https://github.com/coderedcorp/coderedcms/blob/dev/coderedcms/blocks/__init__.py#L66

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants