HTML block is gone

Permalink
I removed the html block (only way to make page editable) and now the block is gone (from Installed Block Types list). How do I add this block again? The code is still there (concrete/blocks/html).

Nunchaq
 
JohntheFish replied on at Permalink Reply
JohntheFish
Ideally you should have reverted the page version rather than removing the block. That would have left the core block installed.

If you were on 5.6, there is an addon for restoring core blocks. Maybe you can look at what that does and do the same in 5.7. Take a backup first. That way you can revert the database if anything foes wrong.
enlil replied on at Permalink Reply
enlil
also check if you have an available backup now, and simply restore it that way!
Nunchaq replied on at Permalink Reply
Nunchaq
I solved the problem by creating custom block just for that.