• miscswp

    (@miscswp)


    Hi Helmut,
    first thank you for the great plugin! Just taking the first steps and struggling a bit…

    I created a block like this: div-html(h2)-Author Rich Text

    I can find and use that block in Gutenberg, but I want to automatically create a new paragraph block when I press “CR”, so like the behaviour of the core headline block. My custom block instead creates a new line and stays in my custom block.

    I need the “+” icon to exit the block and create an new one. Is there a way to mimic the normal block behaviour concerning “CR” (so build a custom headline block for example which behaves like the core one in the editor)?

    Thanks!
    Stephan

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Helmut Wandl

    (@ehtmlu)

    Hi Stephan,

    thank you very much for your feedback and your question. Unfortunately there is no way to do this in the current version. However, I just added it to my todo list and it will be available in an upcoming release.

    Best regards,
    Helmut

    Thread Starter miscswp

    (@miscswp)

    Cool, thank you! Looking forward to it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘New block on “enter”’ is closed to new replies.