Register for InstructureCon25 • Passes include access to all sessions, the expo hall, entertainment and networking events, meals, and extraterrestrial encounters.
Found this content helpful? Log in or sign up to leave a like!
I opened my module this morning in preparation for a Zoom with my ESL students. In checking one of the New Quizzes, I found that there were little arrows next to some of the correct answers in multiple choice questions. I checked "Preview" and found that the arrows were also visible there. This has never happened before. I tried to monkey with the questions, switching the "correct" answer to one of the others. Still the arrows are there. Any ideas?
Solved! Go to Solution.
Thank you both. I ended up just deleting those correct answers completely and typing them in again. When I tried "copy & paste" before deleting, that did not work. The quiz was from a course I imported from last spring, but I hadn't had trouble with any other one. Some kind of corruption, though, might have been the problem. Out of 15 multiple choice questions, there were only 5 that appeared that way. And James, looking at the HTML would have been interesting, but I'd already fixed them when I saw your suggestion. That will be something to do if it ever happens again. Thanks again!
Hello,
I'm not seeing that in my Chrome browser so this might be a browser issue. Try a different browser or be sure that your browser is up-to-date.
I wonder if there is something about those particular answers, other than just being the correct response, that is causing the arrows to appear?
Have you tried using the HTML editor view on the possible answers? It's the < /> at the bottom of the Rich Content Editor.
Those up/down arrows can appear when you have a specify type="number" on an input. That should not be a problem here. It could also mean that there is more than is not shown and you need to scroll to see it. I tested entering more than one line and it showed all of them, so it's not something quite so simple.
That's why I hope that looking that the HTML of the answer might show up something. For simple responses like yours, there should be an opening paragraph element and a closing one with the text in the middle. If you see other things like span elements, try taking those out.
Thank you both. I ended up just deleting those correct answers completely and typing them in again. When I tried "copy & paste" before deleting, that did not work. The quiz was from a course I imported from last spring, but I hadn't had trouble with any other one. Some kind of corruption, though, might have been the problem. Out of 15 multiple choice questions, there were only 5 that appeared that way. And James, looking at the HTML would have been interesting, but I'd already fixed them when I saw your suggestion. That will be something to do if it ever happens again. Thanks again!
I had my suspicions about copy/paste and almost mentioned it in the original post, but I didn't want to make the message too long if the HTML view didn't show anything unusual.
Here's a fuller explanation.
Let's say you're viewing content within Canvas and select/copy it so that you can paste it into the Rich Content Editor (RCE). When you hit copy, it includes extra HTML that was added by Canvas when displaying the information.
For example, let's say I have a very simple line of text that reads:
You must view the study guide and score a minimum of 5 out of 10 points on the review before you can take your final.
If you paste it into a text editor (like notepad), comes through exactly as expected.
However, if you paste it into the RCE, it comes through wrapped in a span element.
<span>You must view the study guide and score a minimum of 5 out of 10 points on the review before you can take your final.</span>
That is also most likely wrapped in a paragraph tag, but it could be inside a div or other block level element.
Since what you are copying is HTML content, Chrome makes sure that you're saving valid HTML to the clipboard. Valid HTML doesn't allow you to have text on its own, it has to be wrapped in some kind of element. Sometimes those are block level, like paragraph or div. But when it's not a block element, like a few words within a paragraph, then it gets wrapped with a span element.
Since you were copying just a single line of text, it got wrapped in a span element. Now whether or not that was the actual cause of the issue, I'm not sure. But I do know it causes me headaches to the point where I've written code that looks at my HTML and removes any span elements from it (except for certain ones I need).
This issue seems to be application specific. In Chrome, the span is there, but if I use Firefox to copy a portion of a line, then it does not wrap it in span. Even if I copy HTML (something that has hyperlinks in it for example), Firefox does a much better job of making it work. Firefox didn't include the span or add the non-breaking-spaces. Selecting/copying the same content in Chrome added both.
When I tried copying multiple lines, Chrome grabbed the paragraph elements that wrapped it. Since the content was valid HTML, it didn't need to wrap it further, and it worked okay.
If you are editing the content with the RCE, rather than viewing it, then Chrome doesn't pick up add the extra span. Because I mostly use Chrome, my long-time-ago-lesson-learned is that whenever I want to copy/paste parts of one page to another, I edit the first page. Then I select/copy the text. Then I can go and paste it getting it the way I wanted it.
Opening the Rich Content Editor just so you can get a clean paste for a single line of text wastes a lot of time. What I do for simple stuff is use Shift+Ctrl+V (Firefox or Chrome) or Command+Option+V (Safari) to paste as text only.
This is really helpful, Thank you!
To interact with Panda Bot in the Instructure Community, you need to sign up or log in:
Sign In