i’m new at EditorX and have no experience in coding and i tried finding similiar forum about making expandable/collapse text with button text that can change from “read more” to “read less” and i’ve found this forum but it’s for FAQ page
i’ve copied the code from the answer and modified the UI a little and the expandable/collapse text is work but now im struggling on replacing the button with text “read more” to “read less”
here is the look of it and the coding from the forum above
The key is that you can access the button label using: buttonName.label. I used a non-compressed if … else… because I’m still at a point in my learning process where I understand that better.