Hi @lll, I am not sure about what’s exactly you are trying to achieve since I didn’t followed this topic fully. If you just want to modify all post contents as you described here then you can use below code
api.decorateCooked($elem => $elem.children('p').addClass('foo-class'));