Is there an option, plugin, planned featured, or any hope for being able to paste HTML/RTF into Discourse?
I'm asking -- because my community has asked me repeatedly -- for the ability to paste content from Google Docs, emails, Word documents, and the like into Discourse's editor while preserving basic formatting, especially links.
I'm not asking for a WYSIWYG editor. Most of my folks would be perfectly happy with an on-the-fly conversion into Markdown. Or whatever magic accomplishes this most basic of tasks.
Can i haz please?
A specific scenario (with some friendly ranting )
The other admin at my community (the director of the organisation) wanted to comment on our forum about an email he received from a mailing list.
- He tried copying and pasting the email into Discourse's editor, but that didn't preserve the links.
- He forwarded the email into Discourse, but that staged a user based on the sender of the original email (who is unrelated to our community). This isn't what he was trying to do. He deleted this user, which then also deleted the post.
At this point, I noticed what was happening and asked him what he was trying to do. He wrote:
i wanted to share and comment on that but decided it wasn't worth further time spent on it
I asked him to forward the email to me. I copied and pasted it in Sublime Text. I spaced out the paragraphs and added URLs for the links. I escaped a #
which made a hashtag into a heading. I added a space in front of one URL, because that's the only way to prevent a onebox from unfurling there, which was very confusing in that context. For good measure I made the whole thing a blockquote, by adding >
in the beginning of every line, making short work of all this with Sublime Text's multiple cursors. I then sent him the prepared Markdown, ready for posting.
However, it should take fewer than two people to copy and paste an email into Discourse.