Activity Feed
- Got a Like for Re: Why is font-weight being stripped from the RCE???. 12-05-2022 01:04 PM
- Got a Like for Why is font-weight being stripped from the RCE???. 12-05-2022 01:04 PM
- Got a Like for Re: Keyboard Shortcuts in the Pretty HTML Editor. 08-31-2021 10:53 AM
- Got a Like for Re: Why is font-weight being stripped from the RCE???. 07-29-2021 12:53 PM
- Got a Like for Why is font-weight being stripped from the RCE???. 07-29-2021 06:13 AM
- Posted Re: Why is font-weight being stripped from the RCE??? on Canvas Instructional Designer Discussion. 07-29-2021 04:22 AM
- Got a Like for Why is font-weight being stripped from the RCE???. 07-28-2021 11:03 PM
- Posted Re: Keyboard Shortcuts in the Pretty HTML Editor on Canvas Question Forum. 07-15-2021 01:42 PM
- Posted Re: Keyboard Shortcuts in the Pretty HTML Editor on Canvas Question Forum. 07-14-2021 10:44 AM
- Got a Like for Re: Zoom and Sections. 06-15-2021 11:35 AM
- Posted Re: Allow No file preview - neither overlay nor inline on Canvas Ideas. 05-21-2021 07:46 AM
- Got a Like for Why is font-weight being stripped from the RCE???. 04-20-2021 09:22 AM
- Posted Re: Allow No file preview - neither overlay nor inline on Canvas Ideas. 04-02-2021 02:00 PM
- Got a Like for Re: Keyboard Shortcuts in the Pretty HTML Editor. 03-30-2021 06:58 PM
- Got a Like for Re: Keyboard Shortcuts in the Pretty HTML Editor. 03-30-2021 02:15 PM
- Got a Like for Re: Feature Ideas and Product Management. 03-30-2021 12:49 PM
- Posted Re: Feature Ideas and Product Management on The Product Blog. 03-30-2021 12:14 PM
- Posted Re: Keyboard Shortcuts in the Pretty HTML Editor on Canvas Question Forum. 03-29-2021 08:31 AM
- Posted Re: Canvas Removes Link Code From HTML on Canvas Developers Group. 03-29-2021 07:11 AM
- Liked Re: Comment Changes Coming to Canvas Release Notes for venitk. 03-23-2021 09:19 PM
My Posts
Post Details | Date Published | Views | Likes |
---|---|---|---|
Why is font-weight being stripped from the RCE??? . |
03-10-2021 |
1528 |
6 |
Has position: fixed been banned? In crafting my pages today, I noticed some things I had created using the inline "position: fixed" rule are being overwritten on save to "position: relative". Even trying to bypass this issue through... |
01-20-2021 |
603 |
0 |
07-29-2021
04:22 AM
3 Likes
I deleted my responses and initial post because the whole thing frustrated me, but suffice it to say I went back and forth with Canvas about it and their final L1 response is that it is intended and to point to the HTML Allowlist (which has the font property on it, which is itself a shorthand property for several other properties, including font-weight - meaning you can still change font-weight with it - all of which you can still use independently except font-weight despite not being explicitly mentioned on the Allowlist).
There is no chance of our big university admin changing or adding CSS rules for us. But if you need a class for bold, using “ui-priority-primary” works, at least for me. The only thing rule I see for it in the Canvas CSS is in fact “font-weight:bold”
... View more
07-15-2021
01:42 PM
1 Like
I noticed today that this bug now seems fixed; and that Code Mirror is now on version 5.61.1. 😁 Very happy this was updated before I had to really work on the bulk of my pages.
... View more
07-14-2021
10:44 AM
@Stef_retired Has there been any update on the status of this bug? I noticed when looking at the "Known Issues" that this bug isn't even listed, which is worrying. Especially since this is a bug that has actually already been fixed by the third-party creators.
... View more
05-21-2021
07:46 AM
No, we’re still in just deal with it mode. Same with the keyboard shortcuts that have been broken in Chrome on touch Windows devices for over 2 months now. I can only hope these get fixed before I have to start building pages for the fall, but I’m not holding my breath.
... View more
04-02-2021
02:00 PM
One of my comments about this on the Release Notes was deleted since it is apparently a planned feature, so fingers crossed it comes about soon:
Reason:
Removing Inline previews is a planned feature
Explanation:
Our engineering team is planning to enable the feature to remove inline previews completely. Please follow https://community.canvaslms.com/t5/Idea-Conversations/Allow-No-file-preview-neither-overlay-nor-inline/idi-p/452999?emcs_t=S2h8ZW1haWx8cmVhc29uX2JveHxLTjBQMEY5TkNRRUJTRXw0NTI4NzV8T1RIRVJTfGhL
... View more
03-30-2021
12:14 PM
1 Like
Ah, this explains a lot about the new RCE issues. I hope you're successful in getting another team up and running who can ease up some of your workload.
... View more
03-29-2021
08:31 AM
2 Likes
For what it's worth, the CodeMirror devs identified this issue and deployed 5.59.1 to fix it (current version is 5.60.0). Canvas is still using 5.59.0. So, I guess whenever Canvas gets around to updating CodeMirror is when it'll be fixed.
https://github.com/codemirror/CodeMirror/issues/6532
... View more
03-29-2021
07:11 AM
I've found that when your "a" tag (an inline-level element) is wrapped around block-level elements (in this case, "div"), Canvas doesn't like it and strips the link despite this structure being HTML5 compliant. If you were to change the "div" to a "span", or swap the positions of the "div"/"a" tags, it should stop being stripped. In this case, I'm not exactly sure you need the "div", but then the "button" class does nothing on my instance (only "btn" does).
... View more
03-23-2021
08:57 PM
Thank you for creating this post. I completely support! The new behavior is also inconsistent - if you upload direct to the RCE it defaults to display inline (and has converted most existing links to this from what I can tell even if you had inline display disabled previously); if you pick from Course Documents, it defaults to overlay.
It would have been nice if Canvas had tested this as a beta feature like they did with the new RCE rather than unexpectedly springing it on us and causing a variety of bugs and unexpected behavior.
... View more
03-17-2021
10:00 AM
2 Likes
Would super appreciate it if anyone who has support tickets out keeps us up to date on progress! I have had such nightmare experiences with the "experts" at Canvas support, I just cannot subject myself to them again.
... View more
03-10-2021
09:42 AM
7 Likes
03-05-2021
05:48 AM
@erinhmcmillan I filed a support request and was told that font-weight is not an allowed "HTML element" 😑 T1 support is really frustrating. I asked it be kicked further up the chain.
@Kelvin_Dean Have you happened to hear anything, hopefully a bit more constructive?
... View more
03-04-2021
04:26 PM
@Kelvin_Dean Yes, font-weight is being completely stripped for me as well! All my font-weight:bold's have vanished, leaving me to use strong tags instead when they don't fit semantically. I will also file a support case.
... View more
03-04-2021
08:11 AM
1 Like
@Stef_retired
I am also having issues with the Ctrl+F behavior in Firefox on Windows, it simply does not work properly in any browser I am using unless I make the Pretty HTML editor fullscreen.
Though, even if it did work in Firefox, since Chrome (and Chromium-based derivatives) is the most popular browser in the world by far, I would think it not working on Chrome would be a priority for Canvas to fix.
... View more
02-25-2021
07:24 AM
4 Likes
For the people with issues, are you using touchscreen computers/laptops?
@KOliveras I took a further look at the CodeMirror.js file and from the way is written, we should only get the emacs bindings (which are one of the 2 fallthroughs in keyMap.macDefault) in the case where mac is true in this statement.
keyMap["default"] = mac ? keyMap.macDefault : keyMap.pcDefault;
mac is defined as:
var mac = ios || /Mac/.test(platform);
So, it's true iOS if true or platform has Mac in (platform is a variable that is equal to navigator.platform, which you can run in your web console. Mine evaluated to false).
Next, iOS is defined as:
var ios = !edge && /AppleWebKit/.test(userAgent) && (/Mobile\/\w+/.test(userAgent) || navigator.maxTouchPoints > 2);
Which is true is your userAgent doesn't have "Edge" in it (that's what edge checks for, and Chrome doesn't), if your userAgent has AppleWebKit in it (which Chrome does, but Firefox does not), and if your useragent has mobile in it (Chrome doesn't) OR it has a navigator.maxTouchPoints > 2.
In my laptop that isn't working, a touchscreen Windows 10 laptop, navigator.maxTouchPoints is 10. In the work-issued laptop, which is working properly, this is 1.
So, there are probably other issues, but it looks like one of them is that the code identifies us as iOS, and then Mac users, so defaults to the macDefault. The macDefault fallthrough probably tests some other aspects of Macs that we fail, so we get stuck with the eMacs ones. Ultimately then, this looks like a bug Canvas has to fix.
... View more
02-24-2021
10:27 AM
2 Likes
Yes, the border-radius is not on the allow list unfortunately. You can poke around in your school's css stylesheet to see if they have an appropriate class you can use instead.
The way I dealt with this was to set the list-style to none and use unicode and the Instructure font icons instead. You can also use HTML codes. This site has a lot that I pilfer off of: https://unicode-table.com/en/sets/symbols-for-nickname/
Here's a modification of what I did:
<ol style="list-style-type: none;">
<li style="position: relative; padding-left: 15px; margin-bottom: 1.5rem;"><span style="font-size: 1.5rem; font-weight: bold; color: #ee7623; position: absolute; left: -27px; top: -1px;">Ⓐ</span> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean scelerisque aliquet quam, quis semper odio. Duis id aliquet ipsum. Nam quis quam nec turpis dignissim venenatis. Cras urna dolor, commodo in elit sed, bibendum pharetra massa. Aliquam tincidunt condimentum felis sit amet volutpat.</li>
<li style="position: relative; padding-left: 15px; margin-bottom: 1.5rem;"><span style="font-size: 1.5rem; font-weight: bold; color: #ee7623; position: absolute; left: -27px; top: -1px;">Ⓑ</span> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean scelerisque aliquet quam, quis semper odio. Duis id aliquet ipsum. Nam quis quam nec turpis dignissim venenatis. Cras urna dolor, commodo in elit sed, bibendum pharetra massa. Aliquam tincidunt condimentum felis sit amet volutpat.</li>
<li style="position: relative; padding-left: 15px; margin-bottom: 1.5rem;"><span style="font-size: 1.5rem; font-weight: bold; color: #ee7623; position: absolute; left: -27px; top: -1px;">Ⓒ</span> Lorem ipsum dolor etc etc etc </li>
</ol>
Which looks like this:
(Also, in your current code, the "left" and "top" attribute values are not currently having an effect because the <li> still has its position value set to static, you need to change it relative, fixed, or absolute.)
... View more
02-23-2021
06:24 AM
1 Like
Ctrl+F to find things also does not work in Chrome. By this I mean, if your cursor is in the text box, the Ctrl+F command does not work at all.
If it is outside the text box, the command works - but it doesn't actually find all the matching instances (this is the case in both Firefox and Chrome). It seems to only find instances that show in the "visible" portion of the text box, unless you go into full-screen mode.
... View more
02-01-2021
07:30 PM
So, I went to the repo for Canvas and found that YES, position:fixed has been banned, see the following commit:
https://github.com/instructure/canvas-lms/commit/b5389273af4002d86160d984f0877875646e4a59
It would be great if Canvas updated the allow list to make this explicit and also provided some more details about the "security vulnerability," since we obviously don't have access to their JIRA to see it ourselves.
... View more
01-20-2021
01:16 PM
In crafting my pages today, I noticed some things I had created using the inline "position: fixed" rule are being overwritten on save to "position: relative". Even trying to bypass this issue through a css rule has the editor adding "position: relative" to my code.
Why is this happening? There is nothing in the Allow List that says position: fixed is banned. I see nothing about it in release notes.
All I know is that I had some awesome modals that relied on "position: fixed" and they no longer work and it sucks. I try sooooo hard to make my courses awesome and engaging with what little I can do as a non-admin in a district that does not pay for CidiLabs and Canvas is always messing it up. I hate this CMS. 😢
... View more
Labels
- Labels:
-
CSS
01-12-2021
03:32 PM
3 Likes
Wow, thank you so much to everyone for your feedback. I clicked the option to enable the New Quizzes on my course because I'd read they would be enforced in the summer and figured I'd get a jumpstart on converting (though it appears that has been postponed to next summer). However, with all the shocking issues with them seen in the comments, I will absolutely not be enabling them.
I played around with them a little to see if they were really that bad, particularly the "Modules" integration issue as I will be relying heavily on Modules organization to orient students in online learning. The fact that it essentially takes students to some nigh-unrecognizable version of Canvas, with the course sidebar gone and the previous/next arrows missing, and that it doesn't display number of questions/points on the info header are major showstoppers for me. There are probably more (certainly the many issues presented in this topic and Su's intro post), but these were enough to get me to quit. I'm glad the enforcement date has been postponed a year!
... View more