swirldev / swirlify

:books: A toolbox for writing swirl courses
Other
63 stars 47 forks source link

Quotation marks get auto-corrected to rich text #1

Closed ncarchedi closed 10 years ago

ncarchedi commented 10 years ago

Example: "something" gets converted (as I'm typing) to “something”.

R doesn't recognize the rich text quotes. How do I suppress this behavior in the textarea? Is it a bootstrap thing?

ncarchedi commented 10 years ago

So, if I right-click inside of one of the textareas, then go to Substitutions -> Smart Quotes, I can turn them off. Screenshot below.

This looks like a Mac operating system thing. We may have to just warn the user about this if there's no way to automate turning this feature off.

screenshot 2014-03-08 13 51 36

WilCrofter commented 10 years ago

Re: Mac operating system thing. I don't seem to have this issue on linux.

ncarchedi commented 10 years ago

Yes, I found the source of the problem. It is the Mac OS. There's a master switch in System Preferences, but I don't think many people will want to throw that. Instead, I'll probably recommend that people turn off Smart Quotes the way I showed in my last comment.

ncarchedi commented 10 years ago

Addressed with commit 6ef5348ff67c45abfbec7056a7a8bf917aabfdb8