Skip to content

<br> tags in custom html #9528

Closed
Closed

Description

@Aljnk

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).

Activity

  1. bkyam commented on Sep 24, 2018

    @bkyam

    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

  2. Aljnk commented on Sep 25, 2018

    @Aljnk
    Author

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

  3. Aljnk commented on Nov 25, 2018

    @Aljnk
    Author

    Version 4.5.1 - Same Problem!

  4. designsimply commented on Jan 17, 2019

    @designsimply
    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.

  5. added
    [Feature] Rich TextRelated to the Rich Text component that allows developers to render a contenteditable
    and removed
    [Type] Help RequestHelp with setup, implementation, or "How do I?" questions.
    on Jan 17, 2019
  6. Aljnk commented on Jan 18, 2019

    @Aljnk
    Author

    Now Everything is Good - Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] Rich TextRelated to the Rich Text component that allows developers to render a contenteditable[Status] Needs More InfoFollow-up required in order to be actionable.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions