-
Bug
-
Resolution: Fixed
-
Major
-
3.1.16, 3.4.7, 3.5.4, 3.6, 3.7, 3.8
-
MOODLE_31_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE
-
MOODLE_36_STABLE
-
Working on MDL-65635 (and in fact being one of the main reasons for it), was detected that, when a existing content (for example a forum post) is using FORMAT_MOODLE, if the user has any HTML editor as preference... then, editing the content displays the editor, obviously borking the original formal (newlines basically).
Other formats (FORMAT_PLAIN and FORMAT_MARKDOWN) don't lead to that problem at all. With them the existing content format has precedence over the editor preference. That's the correct approach.
So this is about to make FORMAT_MOODLE to behave exactly the same. Existing format should have precedence over any editor preference.
It's the only way to honor the original content and format.
This has been detected in forum posts with Atto but maybe applies to any other content and editors... worth trying in places like glossary entries, page resources, course descriptions... and with both atto and mce editors and fix it where needed.
tldr;, the format of exiting content must win always!