搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Copy from Word to Web-forum via Firefox: Loss of formating

  • 4 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 k2kellyirie

more options

Hi All, thanks for any help;

My issue is, I transfer a lot of long Word-97 generated text to various web-forums, which contain simple formatting (bold, italics, paragraph spacing, varied 'forum supported' fonts). When the text is copied, all the formatting is stripped in Firefox and only pasted as plain text.

Is there a way to copy and paste a document's text so the formatting is not removed?

p.s.: this is a browser issue, older browsers--like IE-11--copy the information fine (they have some paragraph vs. line issues (now, which is likely forum side), but otherwise work fine.)

Is there a way to paste text with formatting in firefox?

Thanks for your help!

K2

Hi All, thanks for any help; My issue is, I transfer a lot of long Word-97 generated text to various web-forums, which contain simple formatting (bold, italics, paragraph spacing, varied 'forum supported' fonts). When the text is copied, all the formatting is stripped in Firefox and only pasted as plain text. Is there a way to copy and paste a document's text so the formatting is not removed? p.s.: this is a browser issue, older browsers--like IE-11--copy the information fine (they have some paragraph vs. line issues (now, which is likely forum side), but otherwise work fine.) Is there a way to paste text with formatting in firefox? Thanks for your help! K2

被采纳的解决方案

cor-el said

I don't know whether Word can use inline CSS code instead of using a style sheet, but I've seen cases where Word wants to add a lot of (garbage) code when you paste formatted code which might break the form as it can exeed the maximum content issues. You can possibly check the source in the editor (i.e. switch from rendered to editing the source) if you paste that content in another browser to verify what is actually pasted.

You're speaking above my education (which doesn't take much :) ). I understand some of it (from when I built a simplistic website+forum years ago), but past that...

Anywho, all I can say in response is that perhaps 6/7 years ago I could straight copy and paste word text to any forum without issue. Newer forum styles came out, and there were issues--but those were forum side, the information pasted through and confused them. IE-11 will c/p all formatting (now with issues forum side), but FF does not (nor edge or chrome, which I assume is the issue--chrome based).

Your initial suggestion above helped, however. If I change doc paragraph spaces to blank lines, save my doc in HTML format, bring that up, select-all/c/p that, though it loses bold, it retains the line spacing (not indent) and italics...other formatting I can't say.

Hope that adds some clues, but I suspect it's simply a matter of me not keeping up with the times, Word style (sheets) and the like. In the end, it all just evolved past the simplicity of what was, no doubt for security and better educated web users.

Thanks for your help, but I'll close this out to not waste more of your time.

Thanks so much for the responses!

K2

定位到答案原位置 👍 0

所有回复 (4)

more options

Pasting formatted HTML content only works in Firefox if inline CSS code is used (<b>bold</b>, <i>italics</i>) and not with an embedded style sheet as Word probably uses.

由cor-el于修改

more options

cor-el said

Pasting formatted HTML content only works in Firefox if inline CSS code is used (<b>bold</b>, <i>italics</i>) and not with an embedded style sheet as Word probably uses.

Not the answer I hoped for, but if that's how it is, that's how it is. Thanks for the response.

K2

more options

I don't know whether Word can use inline CSS code instead of using a style sheet, but I've seen cases where Word wants to add a lot of (garbage) code when you paste formatted code which might break the form as it can exeed the maximum content issues.

You can possibly check the source in the editor (i.e. switch from rendered to editing the source) if you paste that content in another browser to verify what is actually pasted.

more options

选择的解决方案

cor-el said

I don't know whether Word can use inline CSS code instead of using a style sheet, but I've seen cases where Word wants to add a lot of (garbage) code when you paste formatted code which might break the form as it can exeed the maximum content issues. You can possibly check the source in the editor (i.e. switch from rendered to editing the source) if you paste that content in another browser to verify what is actually pasted.

You're speaking above my education (which doesn't take much :) ). I understand some of it (from when I built a simplistic website+forum years ago), but past that...

Anywho, all I can say in response is that perhaps 6/7 years ago I could straight copy and paste word text to any forum without issue. Newer forum styles came out, and there were issues--but those were forum side, the information pasted through and confused them. IE-11 will c/p all formatting (now with issues forum side), but FF does not (nor edge or chrome, which I assume is the issue--chrome based).

Your initial suggestion above helped, however. If I change doc paragraph spaces to blank lines, save my doc in HTML format, bring that up, select-all/c/p that, though it loses bold, it retains the line spacing (not indent) and italics...other formatting I can't say.

Hope that adds some clues, but I suspect it's simply a matter of me not keeping up with the times, Word style (sheets) and the like. In the end, it all just evolved past the simplicity of what was, no doubt for security and better educated web users.

Thanks for your help, but I'll close this out to not waste more of your time.

Thanks so much for the responses!

K2