Skip Navigation

[Resolved] Line-break not working

This thread is resolved. Here is a description of the problem and solution.

Problem:
Line break not working with custom fields displayed using visual editor cell

Solution:
The visual editor cell where you added the shortcode - You should uncheck the checkbox at bottom of the visual editor cell that says "Disable automatic paragraph" to display line breaks added to your custom field.

You can find proposed solution, in this case, with the following reply:
https://toolset.com/forums/topic/line-break-not-working/#post-908823

Relevant Documentation:

This support ticket is created 6 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 3 replies, has 2 voices.

Last updated by tomS-10 6 years, 5 months ago.

Assisted by: Minesh.

Author
Posts
#908732
Skjermbilde 2018-06-05 kl. 10.28.09.png
Skjermbilde 2018-06-05 kl. 10.27.05.png

Turns out line-break has stopped working for post type "Artikler". Been trying to figure out where the problem is, but can`t find a solution.

This is how the text is getting retrieved:

<div class="brodtekst maximg litenbrodtekst">[types field='brodtekst'][/types]</div>

I have checked with Template for Pages:

<div class="brodtekst">[types field='brodtekst-side'][/types]</div>

And this works.

I have tried the following:
1) shift + enter
2) enter
3) Write <br/>

None of these has worked. Any ideas?

#908802

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - could you please share problem URL and access details so that I can check whats going wrong with your setup.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I would additionally need your permission to de- and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important. If you agree to this, please use the form fields I have enabled below to provide temporary access details (wp-admin and FTP).

I have set the next reply to private which means only you and I have access to it.

#908823

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Actually - it was a cosmetic change so I made it as it will not have any negative effect.

Could you please check now: hidden link

The visual editor cell where you added the shortcode - I've uncheck the checkbox at bottom of the visual editor cell that says "Disable automatic paragraph" and I can see its working now.

Could you please confirm.

#908827

Great. That was a easy solution. Thank you,