Alexis Yushin

Results 100 comments of Alexis Yushin

@vsalvino And talking about modals, now I'm going to use them too and I also need forms inside of the modals, another case for wagtailstreamfieldforms

wagtailstreamforms_fields.py ``` from wagtail.core import blocks from wagtailstreamforms.fields import BaseField def get_form_block(self): """The StreamField StructBlock. Override this to provide additional fields in the StreamField. :return: The ``wagtail.core.blocks.StructBlock`` to be used...

(and don't run makemigrations without an app)

@mwort I'd like to see that PR :-)

@vsalvino I completely understand the concern, however it is better to give that flexibility to a developer (perhaps with a warning) and leave the choice up to them if they...

Or something like this? ``` def register_layout_streamblock(name): def inner(block): if name not in get_layout_streamblocks(): get_layout_streamblocks().append((name, block(CONTENT_STREAMBLOCKS))) return block return inner ```

So I am hitting this issue very hard three-fold: 1. Adding own blocks - can be worked around by "creative" re-using existing blocks fields (i.e. `subtitle|safe` for some extra html...

1. Yes, but I would like to to insert my blocks inside of bootstrap column (two levels down from the body) - do I miss something? 2. Talking about `https://github.com/labd/wagtailstreamforms`...

This worked. Combined with `./manage.py sync_translation_fields` I'm now finally back to the mainstream coderedcms package!

OK, so what's the latest recommendation to add custom STREAMBLOCKS to non-pages, like snippets and content walls? I'm using https://github.com/labd/wagtailstreamforms with great results and would like to embed them into...