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

<br> tags in custom html #9528

Closed
Aljnk opened this issue Sep 1, 2018 · 5 comments
Closed

<br> tags in custom html #9528

Aljnk opened this issue Sep 1, 2018 · 5 comments
Labels
[Feature] Rich Text Related to the Rich Text component that allows developers to render a contenteditable [Status] Needs More Info Follow-up required in order to be actionable.

Comments

@Aljnk
Copy link

Aljnk commented Sep 1, 2018

I use my own theme for wordpress website. My html code written in theme files has extra tag <br> in many different places, when I activate Gutenberg plugin.

How can I switch off this <br> adding by Gutenberg plugin (AT ALL)?

3

  • Windows 10 - Google Chrome, Opera, Firefox
  • Gutenberg Version 3.9.0 (and <3.9.0).
@designsimply designsimply added [Type] Help Request Help with setup, implementation, or "How do I?" questions. Needs Technical Feedback Needs testing from a developer perspective. labels Sep 6, 2018
@bkyam
Copy link

bkyam commented Sep 24, 2018

I've noticed that when you add HTML code, Gutenberg inserts a br tag before the code block, and two br tags after the code block.

See similar issue:
#5872

@Aljnk
Copy link
Author

Aljnk commented Sep 25, 2018

I'm not using Gutenberg at all - It just activated. This code inside "THEME" php files.

@Aljnk
Copy link
Author

Aljnk commented Nov 25, 2018

Version 4.5.1 - Same Problem!

@designsimply
Copy link
Member

@Aljnk I noticed that an update was made to formatting whitespaces in #12166 in Gutenberg 4.7, and I was wondering if you are still having trouble with this if you update to the latest version of WordPress (the plugin is no longer needed).

The description about browser behavior in #5872 (comment) may also be relevant here.

@designsimply designsimply added [Feature] Rich Text Related to the Rich Text component that allows developers to render a contenteditable [Status] Needs More Info Follow-up required in order to be actionable. and removed Needs Technical Feedback Needs testing from a developer perspective. [Type] Help Request Help with setup, implementation, or "How do I?" questions. labels Jan 17, 2019
@Aljnk
Copy link
Author

Aljnk commented Jan 18, 2019

Now Everything is Good - Thanks!

@Aljnk Aljnk closed this as completed Jan 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Rich Text Related to the Rich Text component that allows developers to render a contenteditable [Status] Needs More Info Follow-up required in order to be actionable.
Projects
None yet
Development

No branches or pull requests

3 participants