How to connect collapsible text through reference field?

Hi all. Is it possible to connect a collapsible text to one collection through a reference field from another collection? Btw, there are no problems with other items (image or texts like heading). Do I need some code for this?