clipboard-inserter
clipboard-inserter copied to clipboard
Respect newlines when inserting text
trafficstars
I believe this line was missed in PR #5. Newlines still didn't work for me after that PR - but if this line is changed as well, then they do work.
Looks like this still isn't live in the extension on Chrome. I was able to find the file, make the change, and now it works.
Yeah this was never merged. But for anyone else who doesn't feel like editing the code of the extension itself, there is an easier workaround: Simply edit the CSS of your .html file to force it to display newlines. After the <style type="text/css">, add the following:
p {
white-space: pre-wrap;
}