Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-46531

Make atto foreground colors and background colors configurable

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 2.7, 2.7.1, 2.8.7, 2.9.1, 3.1.2
    • Text editor Atto
    • MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_31_STABLE
    • MDL-46531-master
    • Hide

      +# Enable the fontcolor and backcolor atto plugins (go to atto toolbar settings and add them to the toolbar)

      1. View an editor
      2. Expand all options and view the dropdown for the fontcolor and the background color
        • Confirm that colours are shown
      3. Make some rainbow text using each of the colours and save your content
        • Confirm that the colours are shown in the resulting content

      You can also modify the theme to change the colours and check that they do indeed change in the resultant content. Note however that existing content will not be changed.+

      Show
      +# Enable the fontcolor and backcolor atto plugins (go to atto toolbar settings and add them to the toolbar) View an editor Expand all options and view the dropdown for the fontcolor and the background color Confirm that colours are shown Make some rainbow text using each of the colours and save your content Confirm that the colours are shown in the resulting content You can also modify the theme to change the colours and check that they do indeed change in the resultant content. Note however that existing content will not be changed.+

      In TinyMCE, there was a plethora of colors to choose for foreground color and background color.

      In Atto, there is only a number of 6 colors which are hardcoded.

      While I appreciate simplicity, it is foreseeable that some of the colors may not work with some corporate identity themes.

      So I propose to have the colors which are hardcoded in
      lib/editor/atto/plugins/backcolor/yui/src/button/js/button.js
      and
      lib/editor/atto/plugins/fontcolor/yui/src/button/js/button.js
      to be configurable within the Atto settings page.

      Thanks

            Votes:
            29 Vote for this issue
            Watchers:
            36 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.