5 ms·
Isn't the browser supposed to get this right automatically? Chrome does this correctly, no?
by graiz 15y ago
Isn't the browser supposed to get this right automatically? Chrome does this correctly, no?
- ivank 15y agoIf you're pasting italicized text into a plain-text editor, it's not preserved automatically. (Edit: updated my post to make the purpose clear.) You have to mutate the page yourself. But you're right, most browsers do handle this when pasting into RTEs like Word. On a completely unrelated note, Word completely fails to preserve blockquote indentation. Plain-text editors do the same, of course. Maybe that's another thing to mutate?
- jacobolus 15y agoIt would be much better to get a plain text editor which properly converted the rich text representation into something relevant to the markup language of whatever document was being pasted into. Then pasting into an HTML file could put <em>foo</em> while pasting into a markdown file could use asterisks &c.
- scrod 15y agoNotational Velocity preserves bold, italic, and strikethrough specifically in its otherwise plain-text editor. All other attributes characteristic of "rich-text" editors are normalized to the current style. The result is a styled editor without the annoyance of getting random unwanted paragraph/line spacing, colors, sizes, and kerning mixed in with your note.
- wladimir 15y agoIndeed. That's a common annoyance when trying to paste something from a site into gmail. Especially if you manage to copy part of a table, it's almost impossible to get rid of it again. Or you have to resort to first copying it somewhere else, then back, to "filter" it. Things like that cause me to hate rich text editors without "underwater" view.