Photoshop CC: Pasting CSS into FTP program not working

  • 1
  • Problem
  • Updated 3 years ago
  • Acknowledged
  • (Edited)
When I copy the CSS code from Photoshop CC it will not paste into any of the FTP/html editors I have which kind of defeats the purpose. (I have Coffeecup and CuteFTP) It pastes into word and other such programs just not the ones it should be.
Photo of Marshall Thornside

Marshall Thornside

  • 14 Posts
  • 0 Reply Likes

Posted 4 years ago

  • 1
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 765 Reply Likes
What isn't working?

Which OS version are you using?
Photo of Marshall Thornside

Marshall Thornside

  • 14 Posts
  • 0 Reply Likes
Pasting the CSS code from PS into the HTML/FTP editing programs I have. It will paste just fine into everything else. At first I thought it was just coffeecup's program then I tired cuteFTP and it did not work either. However it is ONLY when I use the "Copy css" command in PS. Nothing else.

I am on Windows 7 64bit
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 765 Reply Likes
Photoshop is putting text on the clipboard. Again, it works in other applications. Since Photoshop is already doing the right thing, we don't know what the programs that can't read the clipboard are doing that would result in them not being able to read the text on the clipboard. AGAIN: the developers of the failing applications need to debug it, and determine why they cannot read the text on the clipboard.
Photo of Marshall Thornside

Marshall Thornside

  • 14 Posts
  • 0 Reply Likes
At this point I am at an impasse. They say it's not them since it's happening in other programs. You say it's not PS because it's pasting into every other program but these.

Do you work for/with Adobe? Basically until someone with access to the back end of these programs says "Well let's see what's going on for funsies" I think I am boned.
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 765 Reply Likes
Read my title, read the bottom of the icon, then read your Photoshop splash screen. Yes, I work on Photoshop.

We put the text on the clipboard, and other programs can read it. But your HTML editor can't, and I have no idea what their code is looking for that other programs find, but theirs cannot. AGAIN: the makers of your HTML editor are the only ones who can tell us what their program is looking for and why they cannot see the text that Photoshop has put on the clipboard, despite other programs finding that data just fine.
Photo of Marshall Thornside

Marshall Thornside

  • 14 Posts
  • 0 Reply Likes
Sorry I was just asking. It's not totally clear if this is a "Forum" or an official page honestly.

I am still trying to get them to suss it out on their end as well but shouldn't you guys be concerned with compatibility since it has been found on four different programs made by four different companies? (And I am sure more if I looked I just don't want to) I can't be the only person having this issue.
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 765 Reply Likes
You seem to be the only person reporting this problem. The only other problem we've heard is that styled text doesn't always retain the styles when pasting into other applications (which just involves different standards for how to communicate the text styles in different apps). General copy and paste has been pretty reliable from Photoshop into other applications.
Photo of Marshall Thornside

Marshall Thornside

  • 14 Posts
  • 0 Reply Likes
Give it a try yourself - http://www.coffeecup.com/free-editor/ See if it works for you maybe it's just me?.

I have opted to just get CSS Hat and use that for now.
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 761 Reply Likes
It doesn't matter - I can't debug that application to know why it isn't seeing the data that is on the clipboard. I can't do anything from the Photoshop side to know why a few other applications can't see the data that Photoshop puts on the clipboard. From the Photoshop side, we already put the data on the clipboard - we can't tell why another application can't see that data.
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 761 Reply Likes
Please just file a bug with your HTML editor's maker and have them debug their code and figure out why they cannot see the data that Photoshop puts on the clipboard.
Photo of Marshall Thornside

Marshall Thornside

  • 14 Posts
  • 0 Reply Likes
One of the 4 I reached out to gave me this info:

"What seems to be happening is that the "Copy CSS" function is copying to
the Windows clipboard in Unicode text format (CF_UNICODETEXT) instead of
a combination of CF_UNICODETEXT and CF_TEXT when possible.

More about Windows clipboard formats from the source:

http://msdn.microsoft.com/en-us/libra...

Programs without native support for Unicode, such as HTML-Kit 292 and
most likely the other editors you've tried, might not see that clipboard
content."

Does that sound about right? Is that how PS copies the CSS info to the clipboard?
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 761 Reply Likes
Yeah, that sounds like it might be right. I can't believe that in this day and age there are applications that don't support unicode....

But we might be able to special case the CSS to put plaintext on the clipboard since we now know that some HTML editors can't handle common unicode.
Photo of John Peterson

John Peterson, Employee

  • 9 Posts
  • 0 Reply Likes
This sounds like a deficiency in the editor. CopyCSS outputs Unicode because things like layer names are Unicode, and they are legitimate CSS class or ID names. E.g.:

.バグテスト用 {
border-width: 11.843px;
border-color: rgb( 0, 0, 0 );
border-style: solid;
position: absolute;
left: 36px;
top: 322px;
width: 110.314px;
height: 130.314px;
z-index: 27;
}

Like Chris says, "I can't believe that in this day and age there are applications that don't support Unicode...."
Photo of John Peterson

John Peterson, Employee

  • 9 Posts
  • 0 Reply Likes
Some font names are also specified w/Unicode text.
Photo of Marshall Thornside

Marshall Thornside

  • 14 Posts
  • 0 Reply Likes
This problem still persists and now I can't even get ANY text I copy (from text boxes I make, etc) to paste into HTML editors.
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 764 Reply Likes
Again, this is not really a problem on the Photoshop side of things.
This is just some HTML editors failing to support Unicode (which is still unbelievable -- seriously, how can you not support international text in a modern app?).