How do you replace content generated by custom fields with custom blocks in Block Editor?

How do you replace content generated by custom fields with custom blocks in Block Editor?