Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TextArea:: Line Breaks (D5 front-end) #92

Open
jcdotnet opened this issue Oct 10, 2024 · 0 comments
Open

TextArea:: Line Breaks (D5 front-end) #92

jcdotnet opened this issue Oct 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jcdotnet
Copy link

jcdotnet commented Oct 10, 2024

Problem Description

  1. Describe what you did

I added a text area field and entered a value with line breaks:

Line 1
Line 2
Line 3

  1. Describe what you expected to happen
    I expected to detect the lines the user has entered to create a table like this:
<tr>
  <td> Line 1 </td>
</tr>
<tr>
  <td> Line 2 </td>
</tr>
<tr>
  <td> Line 3 </td>
</tr>

  1. Describe what actually happened
    In Divi 5 the entered value appears in one line only:

Divi 4 var_dump output:
string(32) "Line 1
Line 2
Line 3"

Divi 5 var_dump output:
string(20) "Line 1 Line 2 Line 3"

As a result, I cannot create the table above in Divi 5.

Related Links or Information

If applicable, please provide links to any related issues, PRs, discord discussions, or other information.

  • Discord Discussion: link

System Information

  • Divi version: 5.0.0-public-alpha.0
@jcdotnet jcdotnet added the bug Something isn't working label Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant