Moodle plugins directory: More font colours | Moodle.org
More font colours
Atto ::: atto_morefontcolors
Maintained by Nicolas Dunand
This plugin is intended as a replacement of the core atto_fontcolor plugin, allowing the Moodle admin to define a set of colours to be available.
Latest release:
7405 sites
1k downloads
113 fans
Current versions available: 2
This is intended to be a replacement for the core fontcolor Atto plugin, allowing the Moodle administrator to freely define a set of colors that can be used by users. If allowed by the administrator, users can also use a color picker to chose any possible color.
Contributors
Nicolas Dunand (Lead maintainer)
CSE Université de Lausanne: Supporting institution
Please login to view contributors details and/or to contact them
Once the plugin is installed, it needs to be activated. Look for the installation instructions in the README file for instructions about how to do this.
I've tried installing 3 times this plugin. I can't seem to get any colors...Please help
If the plugin is indeed installed (see plugins overview screen), then you have to go to the Atto settings and add 'morefontcolors' to the list of buttons to make available to the user.
Thanks for the More Font Colors, I am using 3.0 and 3.1 Moodle with Adabtable theme. I have successfully installed MoreFontColors in Atto. When I try to change the color its dropdown menu doesn't show the color instead it shows the lines, though it change the color once i randomly select any lines.....
.editor_atto_menu .open ul.dropdown-menu {
min-width: 4em;
}
from: https://moodle.org/mod/forum/discuss.php?d=331879#p1354155
to the plugin style sheet.
Yes, you have to replace 'fontcolor' with 'morefontcolors' in the Atto main configuration settings of your Moodle site for this plugin to be used instead of the core plugin.
I'm reluctant to add non plugin specific CSS rules, what about the following instead?
.editor_atto_menu .open.atto_morefontcolors_button ul.dropdown-menu {
min-width: 4em;
}
The code:
.editor_atto_menu .open ul.dropdown-menu {
min-width: 4em;
} does nothing - and I can also see that my version of adaptable already includes that fix.
My fix is:
.editor_atto_menu .open ul.dropdown-menu {
right:inherit;
}
Just thought I'd let people know in case you run into the same issue.
But when I see the editor itself. The toolbar does not contain any button to change font color?
Indeed you have to add the button from the Atto toolbar settings page in your Moodle administration.
Great plugin, our lecturers are happy to have it available. I would like to support Henrik's question: Is there a possibility to have a "remove color" button. (same for background color plugin)?
All the best Thomas
Thanks for the suggestion. I use the "clear format" button in Atto to do this, but this effectively clears all formatting, not only colour.
If you would like to contribute the code to clear the background-color CSS property specifically, I'd be happy to merge.