Skip to:
Content
Pages
Categories
Search
Top
Bottom

BP Multiline Text Box Alignment


  • rexormunde
    Participant

    @rexormunde

    WordPress: 4.9.1
    BuddyPress: 2.9.2
    Site: newenglandfurs.org
    Theme(s) tested: Avant (Primary), Twenty Sixteen

    The problem I’m experiencing is with BuddyPress’ Muiltiline Text Box element. Specifically inside the editor where you would add content. Currently my community and I have noticed that if we try to center text with the element’s alignment functions, the preview shows the alignment in both the visual and text tabs. However, as soon as we save the element, those alignments disappear. This does not happen in our WordPress news posts. You can see an example of this situation here: http://newenglandfurs.org/members/rexormunde/profile/

    Where it says “testing this section”, that was set to be centered in the Multiline Text Box element. As you can see, it’s not centered. Inspect the element with Google Chrome, and you’ll see no signs of any alignments on the paragraph.

    I’m not sure if this is a bug or if I’m doing something wrong. Any advice would be appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)

  • leog371
    Participant

    @leog371

    Its adding breaks between the words. Here is the output of your text.

    <p>Testing<br>
    This<br>
    Section</p>
    

    So basically its breaking a new line for every word. Are you adding <br> between the words?


    leog371
    Participant

    @leog371

    I did notice that every word is capitalized here, There could be a hook or filter doing that. try typing it in with out all the caps. It should be displaying like this.

    <p> testing this section</p>


    rexormunde
    Participant

    @rexormunde

    Wow I’m late on getting back to this. The issue is still ongoing. Nothing aligns in the multiline text box element in user profiles. I noticed that when centering in the “Visual” tab, and then going to the “Text” tab, I can see the HTML code that would center the text. After saving, that HTML code vanishes. It doesn’t seem to get saved or applied to the page, like it’s being stripped away.

    WordPress: 4.9.4
    BuddyPress: 2.9.3
    Site: newenglandfurs.org
    Theme(s) tested: Avant (Primary)
    Example: http://newenglandfurs.org/members/rexormunde/profile/

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar