Drag and Drop - Text not wrapping in text box for choices

Re: Drag and Drop - Text not wrapping in text box for choices

ved Liam Tedders -
Antal besvarelser: 2
Thanks Dominique. I'll have a go and let you know the outcome.
Happy holidays!
I svar til Liam Tedders

Re: Drag and Drop - Text not wrapping in text box for choices

ved Dominique Bauer -
Billede af Documentation writers Billede af Particularly helpful Moodlers Billede af Plugin developers

Hello Alina,

It's better to ask questions on the forum than ask me, because if I do not have the answer, someone else can. smiler

You wrote:

Hi Dominique! I saw your response on this forum and I was wondering if you found another way to resolve the issue.

I looked again at the code of the Choices. It appears that all spaces are replaced by non-breaking spaces ( ) and that the height of the lines is proportional to the height of the boxes. It is easy to replace all &nbsp with normal spaces, but I have not been able to adjust the height of lines. It seems that the developer of the question deliberately limited the choice field to a single line, I do not know why.

My efforts to adjust the html code on the user side, so that the choices accept paragraphs, seem to have failed. However, I think the server-side PHP code could perhaps be modified without too much difficulty. cool

Kind regards.

Gennemsnitsbedømmelse:Useful (1)