Explore the community Forums Lectora Lectora Suggestions Change Contents Text Box

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #282880 Score: 5
    Profile photo of plc
    plc
    Member
    beginner
    intermediate
    friend finder
    Group Member
    5 pts
    @plc

    Hello,

    One of the things that I really like about Lectora is the ability to now put variable values anywhere in a paragraph. However, you cannot format the text.

    In the “Change Contents” text, it would be great if you could do simple text formatting (Bold, Underline, Italics, etc.). It would be even better if you could add bullets and numbers, and it would be fantastic if you could build a table and put values from variables in the table fields.

    Thank you,

    This post has received 5 votes up.
    #294484 Score: 0
    Profile photo of Daryl Fleary
    Daryl Fleary
    Moderator
    beginner
    intermediate
    advanced
    friend finder
    LUC16
    LUC16 Attendee
    contributor
    wise owl
    verified member
    17 pts
    @dfleary

    I completely agree!

    We’ll put this on our backlog of enhancement items.

    Thanks.

    – – Daryl

    #294957 Score: 3
    Profile photo of Teresa Beary
    Teresa Beary
    Member
    beginner
    intermediate
    friend finder
    3 pts
    @tbeary5373

    You can get around this a little bit by using individual text boxes for the variables. Formatting applied to the whole text box will still apply after you use change contents. So you can set font size, weight, color, etc. for the text box and then when you change contents to your variable value it will retain that formatting. I attached an example where I created a table and overlaid text boxes so I could change them to the value the learner entered in some input fields.

    I would be excited if we could apply some CSS based on a variable value, for example, when you get the question wrong the text box border is red and when the answer is correct the text box border is green.

    This post has received 3 votes up.
    #295203 Score: 0
    Profile photo of Daryl Fleary
    Daryl Fleary
    Moderator
    beginner
    intermediate
    advanced
    friend finder
    LUC16
    LUC16 Attendee
    contributor
    wise owl
    verified member
    17 pts
    @dfleary

    Yes, Teresa!  We have also discussed “conditional formatting” actions.  If this is something that you would be interested in, perhaps you can open a thread on it and hopefully it will get up-voted by the community.

    Daryl

    Product Manager

    #299903 Score: 1
    Profile photo of Math Notermans
    Math Notermans
    Member
    contributor
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    LUC16 Attendee
    LUC16
    wise owl
    curious george
    78 pts
    @mnotermans5114

    In fact you can conditionally format existing text. With Javascript 😉
    With GSAP ( http://greensock.com/get-started-js   ) you can change a text or part of a text’s classname.

    When changing that to a specific CSS you want to use for it. Well the appearance of that text will change.

    This post has received 1 vote up.
    #369766 Score: 0
    Profile photo of Windy Schneider
    Windy Schneider
    Member
    beginner
    intermediate
    friend finder
    LUC16
    LUC16 Attendee
    curious george
    contributor
    wise owl
    Group Member
    picture perfect
    5 pts
    @wschneider

    Are any of you having issues with Change Contents > Text feature and the vertical scroll not working when it is supposed to (checked).

    #373682 Score: 0
    Profile photo of Jason Dalrymple
    Jason Dalrymple
    Member
    beginner
    intermediate
    profile
    wise owl
    curious george
    contributor
    friend finder
    31 pts
    @JasonADal

    Do you have an example? (I know this is a bit of an older post.) I ran into the issue with the results box from a test and have a workaround that might be helpful. I’ve not really had it with general text blocks so far.

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.