Ok, is half done !! this is what I managed to do so far but I know still some work to be done:
Description: Lorem Ipsum is simply
<span id="show-more" dmx-on:click="show_more.setValue(1)" dmx-hide="show_more.value==1" style="cursor: pointer;">Show more</span>
<span id="show-more-content" dmx-show="show_more.value==1">
<p class="font_10 mb-1"> text of the printing and typesetting industry</p>
</span>
<span dmx-hide="show_more.value==0" dmx-on:click="show_more.setValue(0)" id="show-less" style="cursor: pointer;" class="showless">Show less</span>
Now the issue is where to add the “.substr(0, 20)”
and I want to alight the “show more” “show less” to the right side in small grayed out letters !
Thanks once more to all