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.

Screenshots

Screenshot #0

Contributors

Nicolas Dunand (Lead maintainer)
CSE Université de Lausanne: Supporting institution
Please login to view contributors details and/or to contact them

Comments RSS

Comments

  • Nicolas Dunand
    Mon, 29 Feb 2016, 2:52 PM
    Hi Степан,

    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.
  • Sya Rahim
    Tue, 23 Aug 2016, 11:31 AM
    Hi,
    I've tried installing 3 times this plugin. I can't seem to get any colors...Please help
  • Nicolas Dunand
    Tue, 23 Aug 2016, 1:54 PM
    @Sya,
    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.
  • RabNawaz Panhyar
    Sun, 18 Sept 2016, 9:41 PM
    Hi Nicolas,
    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.....


  • Gareth J Barnard
    Mon, 19 Sept 2016, 8:22 PM
    Please read: https://moodle.org/mod/forum/discuss.php?d=339997 and add:

    .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.
  • Nicolas Dunand
    Tue, 20 Sept 2016, 4:36 PM
    Hi RabNawaz,

    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.
  • Nicolas Dunand
    Tue, 20 Sept 2016, 4:48 PM
    Hi Gareth,

    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;
    }
  • Derryn Jones
    Thu, 23 Feb 2017, 12:17 PM
    FYI I'm running Adaptable with Moodle 3.2 and I had the same issue where it doesn't display the colors in the dropdown properly.
    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.
  • michell mejia
    Tue, 6 June 2017, 10:13 PM
    I HAVE MOODLE 3.3 and i installed this plugin and i cant see and now i upload a new video and i dont run too...
  • Henrik sune Pedersen
    Wed, 11 Oct 2017, 6:51 PM
    Is it possible to make a clear font color "button" in the drop down, that removed the span and style tags in the code.
  • Ricardo Botti.
    Tue, 9 Jan 2018, 6:12 AM
    This must be a trivial question. I have the plugin, it shows up in the DashboardSite /administration/Plugins/Text editors/Atto HTML editor.
    But when I see the editor itself. The toolbar does not contain any button to change font color?
  • Nicolas Dunand
    Tue, 9 Jan 2018, 2:28 PM
    Hi Ricardo,
    Indeed you have to add the button from the Atto toolbar settings page in your Moodle administration.
  • Leslie Harris
    Wed, 7 Feb 2018, 4:59 AM
    Derryn Jones' solution worked for me. I too am using Adaptable (version 1.5.3) and Moodle 3.2. Rather than changing the adaptable.css file, I just added his code as custom CSS. My "Morefontcolors" color picker is now showing color squares, rather than vertical lines. Thank you, Derryn, for posting the solution!!
  • Thomas Korner
    Thu, 5 Apr 2018, 7:43 PM
    Dear Nicolas
    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
  • Nicolas Dunand
    Thu, 5 Apr 2018, 8:12 PM
    Dear 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.
Please login to post comments