coderedcms icon indicating copy to clipboard operation
coderedcms copied to clipboard

Can i use coderedcms blocks in pure wagtail

Open dima23113 opened this issue 3 years ago • 1 comments

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 avatar Nov 23 '22 11:11 dima23113

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

vsalvino avatar Feb 21 '23 16:02 vsalvino

Closing this due to inactivity. Feel free to re-open if you are still experiencing the issue or have any new information. Thanks!

vsalvino avatar May 23 '24 16:05 vsalvino