1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed WYSIWIG - Text-Align Right Bug

Discussion in 'Resolved Bug Reports' started by Cezz, Aug 3, 2010.

  1. Cezz

    Cezz Well-Known Member

    The Text-Align right button on the WYSIWIG editor isn't currently working in the editor it makes the text float to the right but if you switch to BBCODE version there is no [right][/right] tags and when you submit it it isn't right aligned.

    As an example

    (this image is set to right align using tags)

    [​IMG]


    (this image is set using the editor)
    [​IMG]
     
  2. Disjunto

    Disjunto Well-Known Member

    Text align right button in WYSIWYG​
    Seems to be right aligned. You sure you're not actually pressing in indent button or something?​
     
  3. Cezz

    Cezz Well-Known Member

    Maybe it only effects images then... Didn't think to try with text as it was an image in my signature that I was trying to right align...

    Some Right text set with editor.​
    Some left text set with editor.​
    Some Centred text.​
    This image is centred with editor​
    [​IMG]
    This image is set to right with editor.​
    [​IMG]
     
  4. Cezz

    Cezz Well-Known Member

    Yes ok... Bug only effects images... it seems the editor adds style="float:right;" to the image instead of adding it to the right BBCODE, this style then get's striped when posted.
     
  5. Eric

    Eric Active Member

  6. Eric

    Eric Active Member

    hmm, interesting - so yeah, just on images w/WYSIWYG
     
  7. Disjunto

    Disjunto Well-Known Member

    strange, I centered my sig image using the wysiwyg :| maybe I got lucky
     
  8. Cezz

    Cezz Well-Known Member

    Did you enter the image as BBCODE though and then centre that? Or did you use the image button on the WYSIWYG then centre that???

    As if you were centering the BBCODE then the WYSIWYG would work but centre the image that the WYSIWYG creates and it doesn't...

    I spent ages unable to work out why my signature wouldn't go to the right :(
     
  9. Disjunto

    Disjunto Well-Known Member

    I'm not entirely sure what I did. Might have had some text there aswell at some point, my memory isn't very good :D
     
  10. Mike

    Mike XenForo Developer Staff Member

    Fixed locally.
     

Share This Page