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

Unexpected "non-breaking spaces" when switching from Visual to Text mode #82

Open
alinclamba opened this issue Sep 19, 2018 · 3 comments

Comments

@alinclamba
Copy link

alinclamba commented Sep 19, 2018

A client using Osteria theme noticed that when making changes in the content, in Visual mode, there are added  . Here's a short self-explanatory video: https://cl.ly/e043fc2f7661

From customer's note:

When using the VisualEditor and save a page, your saving routine adds > < and line-breaks.We analyzed it and it gives the impression, that you have problems with the wp_autop() and/or a regular expression

@vladolaru vladolaru self-assigned this Sep 19, 2018
@vladolaru vladolaru added this to the 1.2.4 milestone Sep 19, 2018
@alinclamba
Copy link
Author

@vladolaru can you please double check this again? The problem seems to be present again.
Here's a print screen: http://redjetcreative.com/hannahs/wp-content/uploads/2019/01/theme-spaces.jpg

@alinclamba alinclamba reopened this Jan 25, 2019
@alinclamba
Copy link
Author

alinclamba commented Feb 18, 2019

[Alex] @vladolaru A client from Rosa theme identified the same issue when trying to edit the Contact page. However, I noticed that when you put the close tag's [/row] and [/col], close together, the issue disappears.

From this:
[/col]
[/row]

To this: [/col][/row]

Here's a video to show you what I mean: https://cl.ly/8ab8d86ff93e

@vladolaru vladolaru modified the milestones: 1.2.4, 1.2.7 Feb 20, 2019
@BurloiuCosmin BurloiuCosmin removed this from the 1.2.7 milestone Mar 21, 2019
@georgeolaru
Copy link
Member

@alinclamba that's a known issue that we couldn't figure out a reliable solution yet.

Maybe we should promote to not switch between Visual and Text tabs, or block shortcodes rendering when get back to Visual tab.

Until we will find more time and ideas for a proper fix, we will reduce the priority level for this issue.

@georgeolaru georgeolaru changed the title Adding line braking when switching from Visual to Text mode Unexpected "non-breaking spaces" when switching from Visual to Text mode Nov 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants