Skip to main content
Adobe Photoshop Family

19 Messages

 • 

310 Points

Sat, Mar 15, 2014 12:54 PM

Photoshop CC: Pasting CSS into FTP program not working

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.

Responses

15.1K Messages

 • 

195.8K Points

7 years ago

What isn't working?

Which OS version are you using?

19 Messages

 • 

310 Points

7 years ago

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

15.1K Messages

 • 

195.8K Points

What part isn't working?

Photoshop puts text on the clipboard, and it can be pasted in other applications.
What is not working when you try to paste it in your HTML editor?

19 Messages

 • 

310 Points

Nothing is happening. That's my point. For some reason the code copied from PS will not go into these two HTML editing programs. The code refuses to paste. (It's like it doesn't even exist as "paste" is greyed out in the menus) I suspect it has something to do with the way the CSS code is saved to the clipboard.

I thought it was just the one program but when it became two I suspected it's a weird issue between PS and HTML editors as I have never had this issue with pasting anything else.

15.1K Messages

 • 

195.8K Points

OK, from what you have described, there is a problem in your HTML editor that prevents it from pasting the CSS data that Photoshop put on the clipboard. You need to contact the makers of your HTML editor, and have them figure out why they are not seeing the data that Photoshop has placed on the clipboard, while other applications can see the data.

19 Messages

 • 

310 Points

I have also already been doing that however I find it odd that it would happen in two totally different programs that are by different companies.

Edit: I just tried a THIRD html editor called HTML kit and it will also not paste the code. I suspect this more than a coincidence.

15.1K Messages

 • 

195.8K Points

But it pastes without a problem into other applications.
Only the developers of the failing applications can determine why they are not seeing the data on the clipboard.

19 Messages

 • 

310 Points

7 years ago

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.

15.1K Messages

 • 

195.8K Points

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.

15.1K Messages

 • 

195.8K Points

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.

19 Messages

 • 

310 Points

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?

15.1K Messages

 • 

195.8K Points

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.

9 Messages

 • 

190 Points

6 years ago

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

9 Messages

 • 

190 Points

Some font names are also specified w/Unicode text.

19 Messages

 • 

310 Points

6 years ago

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.

15.1K Messages

 • 

195.8K Points

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