Bug in Textbox with Links
phaserbeam
Registered Users Posts: 452 Major grins
How to reproduce:
- Add a textbox to your site
- Add some Text, add a blank and then add a link. Everything in one line.
- If you want, add some more text after the link.
- Apply changes.
Blanks in front of a link will get removed. Text which is following a link might be removed completely.
Click on the Textbox to edit its content. The word before the link is now next to the link itself, the previously added blank really got removed.
See screenshot.
- Add a textbox to your site
- Add some Text, add a blank and then add a link. Everything in one line.
- If you want, add some more text after the link.
- Apply changes.
Blanks in front of a link will get removed. Text which is following a link might be removed completely.
Click on the Textbox to edit its content. The word before the link is now next to the link itself, the previously added blank really got removed.
See screenshot.
0
Comments
Use   for an extra space. It tried and it works fine.
My Smugmug Gallery
Couldn't get to work
My Website index | My Blog
  working for me, thanks!
Cheers,
This bug has been fixed. If you currently have any squished links, you'll need to edit the text block, fix the spacing and re-save.
we're working on making this behavior better, but for now you have to have some text selected for the justification to work.
I just retested it in case you have made an improvement. It still will not justify center no matter what I do.
Cheers,
My Website index | My Blog
can you provide any more details? Once I select a bit of text, things center fine for me.
http://screencast.com/t/9YOOhIGT
Nice Screencast... but that seem to be different from what i'm getting here. Tested with Opera and Firefox and Text will not be centered. Yes, if i select all text in the textbox and select 'center' it will be shown centered inside of the textbox but unlike in your screencast it's not centered on the site. If i select DONE it stays left. See Screenshot taken with Firefox.
Indeed the problem with no blanks in front of a link seem to be fixed.
Not sure if this is a browser problem but when i add a link and add some more text right after the link this text will be cut off when i select "DONE". As a workaround i can hit ENTER and add some more text and remove the extra CR later.
But at least i can not center any text. Using HTML right now to do that but too bad the accent color is not respected for links here.
My Website index | My Blog
Yes, that works... but i would like to have the accent color being used by default, since that can be changed using a theme without edit any HTML/CSS box.
If you have a look to my site you'll see a text on top of the site with HTML and a white LINK and on bottom of the site is a TEXT with a accent colored LINK.
As a workaround i'm using [a class="sm-accent" href=...] inside of the HTML box to let a link use the accent color. Not sure if that is a good idea, but at least this color will now change if i edit the accent color in my theme.
It appears to work but after saving text is still to the left.
Someone suggested it's browser specific.
I use Firefox.
I use css to get it to work but I'd like the accent color on a link I'm using.
Cheers,
Cheers,
Tested OperaNext on Windows and there it works also... so this really depends on the browser. I wonder why center in HTML works using the text-align:center element but pure text cannot be centered by all browsers.
Oooh, can that (sm-accent) be done in the theme css somehow so I don't have to do it in every html box I make?
Jason Scott Photography | Blog | FB | Twitter | Google+ | Tumblr | Instagram | YouTube
+1 for justify
Jason Scott Photography | Blog | FB | Twitter | Google+ | Tumblr | Instagram | YouTube
Nikkor 18-70mm
Nikkor 70-300mm
My Gallery
Ahh! The joy of not much of anything.............
Has there been any change to centering text within a text box?
Nikkor 18-70mm
Nikkor 70-300mm
My Gallery
Ahh! The joy of not much of anything.............
Nikkor 18-70mm
Nikkor 70-300mm
My Gallery
Ahh! The joy of not much of anything.............
Are you referring to the Centering issue?
Facebook
Google+
Twitter
Photo Blog
Yes I am, on my home page if I try to center my copyright info, in the open edit of the text it centers but smugmug looks up and I have to shut down my browser (IE 10). Right now I added space to the front of the text to get it to center
Nikkor 18-70mm
Nikkor 70-300mm
My Gallery
Ahh! The joy of not much of anything.............
Your fix isn't ideal as it will look different on different sized monitors.
I used an html block like this as a work around....
<p style="text-align: center;">© Dennis Mullen - all rights reserved</p>
Cheers,
Nikkor 18-70mm
Nikkor 70-300mm
My Gallery
Ahh! The joy of not much of anything.............