0

A week ago something happened with my dev tools, when I am copying styles like margin etc. new line added after each number. For example copying this:

margin: 14px 0 3px;

...gives me this when I paste it into my text editor:

margin: 14
px
 0 3
px
;

How to fix it? so the style will be inline

update: https://prnt.sc/1xd6cfo here you can see i just copy one style in the same dev tool to other elment and there are spaces before 'px' version of Chrome is 95.0.4638.54

Katia Kovtun
  • 195
  • 1
  • 9
  • Add more information, what dev tools? Chrome? Do that happen only copying from it? Have you tried copying code from other places? – teefars Oct 26 '21 at 09:27
  • This is likely either a bug in Chrome (i.e. it's copying DevTools styles as HTML instead of plaintext) - or you're abusing Microsoft Word as a HTML editor. – Dai Oct 26 '21 at 09:29
  • https://prnt.sc/1xd6cfo here you can see i just copy one style in the same dev tool to other elment and there are spaces before 'px' – Katia Kovtun Oct 26 '21 at 09:33
  • version of Chrome is 95.0.4638.54 – Katia Kovtun Oct 26 '21 at 09:35

1 Answers1

0

it's a devtool bug, chromium team work on it https://bugs.chromium.org/p/chromium/issues/detail?id=1262435

Katia Kovtun
  • 195
  • 1
  • 9