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

Images aligned in Atto are no longer correctly aligned in TinyMCE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 5.0
    • Text editor Atto
    • None
    • MOODLE_500_STABLE

      Images are no longer displayed aligned to the right if they have been stored in Atto.

       

      The reason seems to be that the CSS functions used at that time are no longer available.

      My workaround: Identify the CSS functions used and insert them into RawSCSS.


       .atto_image_button_text-top{vertical-align:text-top;margin:0 .5em}.atto_image_button_middle{vertical-align:middle;margin:0 .5em}.atto_image_button_text-bottom{vertical-align:text-bottom;margin:0 .5em}.atto_image_button_text-top.img-fluid,.atto_image_button_middle.img-fluid,.atto_image_button_text-bottom.img-fluid{display:inline-block;max-width:calc(100% - 1em)}.atto_image_button_left{float:left;margin:0 .5em 0 0;max-width:calc(100% - 1em)}.atto_image_button_right{float:right;margin:0 0 0 .5em;max-width:calc(100% - 1em)}

            Unassigned Unassigned
            dag Dag Klimas
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:

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