locked
Why sans-serif or serif word is added into style tag when I'm pasting a text from MS Word into an editor? RRS feed

  • Question

  • Hi,

    When I'm copying a text with or sans-serif or serif font-family from MS Word then in clipboard is added word with these font-family. I.e. if I'm pasting the text into HTML editor there will be <span style=" font-family: Impact,sans-serif;">text</span> for example. 

    Also if I'm copying a text with or monospace or cursive font-family from MS Word then in clipboard isn't addedword with these font-family. I.e. if I'm pasting the text into HTML editor there will be <span style=" font-family: 'Lucida Calligraphy'; ">text</span> for example.

    Why monospace or cursive word isn't added into style tag when I'm pasting a text from MS Word into editor? or Why sans-serif or serif word is added into style tag?

    Thanks,

    Ilya

    Friday, November 13, 2015 12:34 PM

Answers