I created a custom plugin that allows the user to save custom text from a predefined list through editors buttons, in the attributes (attribs).
The idea was to give the users an easy way to add a few decorations and visual elements, by entering predefined "tagged" text, that triggers content plugins.
But echoing the attributes text bypasses the content plugins.
How to run the content plugins on the content prepare trigger for this text?
$attrbs = json_decode($this->item->attribs);
echo $attrbs->mygallery;