Components for Learning (C4L)
Maintained by
Roger Segu
A collection of visual components designed explicitly for Learning to use in the Atto editor.
Comments
Product ratings and reviews are coming to Moodle Marketplace. Until then, existing comments remain available to read, but new posts have been disabled.
- AI use allowed: https://componentsforlearning.org/components/ai-use-allowed/
- AI use not allowed: https://componentsforlearning.org/components/ai-use-not-allowed/
- AI use reported: https://componentsforlearning.org/components/ai-use-reported/
Those have been implemented for the TinyMCE version first (which I strongly reccomend to switch to), but very soon they'll be also available for the Atto version. Thanks again for your suggestion!
that's a great plugin!
Is there a way to include a component for tables?
Thanks in advance!
Sandra
It’s a bit complicated to modify the styles, as the original idea was to save the teacher the task of visual design (although I completely understand that in certain contexts, it may be necessary or desirable).
There’s a part you can modify from the CSS (Site administration → Appearance → Additional HTML → Within HEAD). For example, in the case of the Quote component, if you want the color of the sidebar to be green, you should add the following CSS:
.c4l-quote .c4l-quote-line, .c4lv-quote .c4l-quote-line {
border-left-color: #4CAF50;
}
However, the quotation icons are actually images (SVG), so you will need to modify them via code within the plugin folders:
lib/editor/atto/plugins/c4l/pix/noun_project_icons
In this case, in order to change the color of the icon c4l_quote_icon.svg and assign it the new color, you'll need to look for all occurrences of the text fill="#1679F9" in the file and replace it with fill="#4CAF50" (or the new color you’ve chosen).
Naturally, since you’re modifying the original files, when you update the plugin you’ll need to be careful not to overwrite these changes, or otherwise adding them again.
Another option would be to use the functionality to create your own custom components, although this is only available for the TinyMCE version:
I want to customize the colors of the quote and other components, how can I do that?i
For example the left line and the " is light blue and I need converted to an specific red that we are using in our school, how can I do it?
THANKS IN ADVANCE.