Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Learn More

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

Why is text formatting of custom HTML elements not copied to the clipboard?

  • Nessuna risposta
  • 1 ha questo problema
  • 4 visualizzazioni
more options

I have noticed that the formatting of text (font-weight, color, background-color etc) persists when copied to the clipboard only if the corresponding CSS rules are applied to standard HTML elements, whereas CSS rules applied to elements with custom tags (i.e. <custom style="color:red">copied text</custom>) won't persist when copied to the clipboard. Why is that? Can I do something about it?

I have noticed that the formatting of text (font-weight, color, background-color etc) persists when copied to the clipboard only if the corresponding CSS rules are applied to standard HTML elements, whereas CSS rules applied to elements with custom tags (i.e. <custom style="color:red">copied text</custom>) won't persist when copied to the clipboard. Why is that? Can I do something about it?