Support » Plugin: Block Lab » How to create custom block in Classic Editor style?

  • Resolved huetherb

    (@huetherb)


    Hi,

    I am trying to create a custom block that acts like a section. Meaning in the block/section I can add arbitrary content – images, video, etc.

    I don’t see how one can do this in Block Lab. Maybe I am missing something?

    thanks,
    Brian

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ryan Kienstra

    (@ryankienstra)

    Hi @huetherb,
    Thanks for bringing that up.

    Unfortunately, there’s no way to do that with the free version. Per the rules for the forums, I think that’s all I’m allowed to say.

    I guess what I can do then is create an exercise block with block lab, place that block in a section, then use wp.hooks.addFilter on block save, check for block type uagb-section, then check presence of my custom block, and do some modification of the attributes. Just thought of that approach now, will try it out!

    regards,
    Brian

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.