Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Asterisk displays on a seperate line for mandatory questions

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 4 months ago - 7 years 4 months ago #145224 by Joffm
Hi, all,
in my opinion it's the behaviour of CKEditor.
It is very generous in distributing <p>tags everywhere.

If you enter just one line in the question text, there is no <p> tag.
As soon as you press "Enter" the line is surrounded by <p></p>

I am fighting with this bad habit in other applications, too.

I assume that just styling
p {display: inline;}
will solve this problem, but others will appear.

Best regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 7 years 4 months ago by Joffm. Reason: Ergänzung
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 4 months ago - 7 years 4 months ago #145237 by DenisChenu
@Joffm : i'm not OK about display: inline : if user use 'enter' key : he want to see some line between paragraph :).

You right on one point : sometimes it's an undesired behaviour :
Code:
<p>
    &amp;nbsp;
</p>
Added at end of question text.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Last edit: 7 years 4 months ago by DenisChenu. Reason: html4strict code
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 4 months ago #145242 by Joffm
Hi, Denis,
I absolutely agree.
Therefore I wrote: it will solve this problem, but you will get others.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose