Read More Button - HELP!

Hello!
I have tried this tutorial: https://www.wix.com/…/create-read-more-read-less-links…
But it just doesn’t work… Already at point 2 I can’t get any further: It is impossible to add content to the state (Multi State Box), copy/paste it’s just not possible and I don’t know why.

Do you have any ideas?

Thank you.
Michaela

To copy and paste with Wix it’s best to use control+c and control+p rather than the mouse.

Hello! I literally was working on a read more button this morning! I found this post very helpful https://www.wix.com/velo/forum/main/comment/5c2dcdd00522560140e02b57
If you have any issues let me know, glad to walk you through it. My version is below. This isn’t for a Multi State Box, but the idea is similar.
-Joe

$w.onReady(function () {
    $w('#dynamicDataset').onReady(function () {
 const shortTextLength = 100;
 let fullText, shortText, textField;

        $w('#repeater1').forEachItem(($w, item) => {
            fullText = $w('#dynamicDataset').getCurrentItem().about;
 if (!fullText.length) {
                $w('#button1').hide();
            } else if (fullText.length <= shortTextLength) {
                $w('#text24').text = fullText;
                $w('#button1').hide();//see more text
            } else {
                shortText = fullText.substr(0, shortTextLength) + '...';
                $w('#text24').text = shortText;
            }
        })
    });
});