Lost my block decoration when add new line

When i use insertBelow (add 1 line below) , I lost my block decoration , then I type code or do a key , my block decoration reappears.
Do you know where the problem is?

What is insertBelow?

Sorry. It means add 1 line below

Can you set up a minimal script that shows the problem?