-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
3.5.3, 3.6.3
-
MOODLE_35_STABLE, MOODLE_36_STABLE
The font size and display of text in the ATTO editor have been mysteriously overwritten in Google Chrome browser in the Boost and Snap themes, doesn't seem to affect Clean or More themes.
The editor decides to wrap sections of text with: <span style="font-size: 1rem;"> effectively locking the text to this size and not obeying other document styles.
- Using the ATTO editor, create two paragraphs of text
- Position the cursor at the start of the second paragraph
- Press backspace (ie collapse the two paragraphs to one)
- Toggle to code view. Note the addition of the <span> tag around what was the second paragraph (see sample code lower)
- Toggle back to design view
- Highlight all the text
- Set style to Heading (large)
- Note that the text inside the <span> tag does not honour the new text size
SAMPLE CODE:
<p>Paragraph 1<span style="font-size: 1rem;">Paragraph 2</span></p>
This was replicated onĀ https://demo.moodle.net
You can see it in action here: https://www.youtube.com/watch?v=gKOB7foZA1w
- duplicates
-
MDL-45948 Atto leaves meaningless span tag around text when formatting removed.
-
- Closed
-