Custom writer node works in panel but not on site

Please make sure to add your centrealign tag to the list of allowed tags (see Writer marks/nodes | Kirby CMS).

And I think the priority option should be a number, not a string.