Jump to content
  • 0

I need save note with my code - but see copied without formatting


zdanevich

Idea

For example, I want to save:
 

window.onload = function() {   MaskedInput({      elm: document.getElementById('mask'),      format: '+375 (__) ___-__-__',      separator: '+375 ()-'   });};

But I see:
99a94206b5ca4865a3afde5253fa69f9.png
 
I found that before insert code to Evernote I must use service tohtml.com

Link to comment

1 reply to this idea

Recommended Posts

I think that when you copy/paste some text, it is the responsibility of the origin application to add styles to the clipboard. So when you copy paste from your text editor (I assume), you're only copying text, without style. And when you're copying from tohtml.com, your browser includes all the highlighting and style with the copied object.

 

Try copying and pasting some styled text from a word processing application (Word, Writer, etc.).

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...