Affects Version/s: 1.9.9
Fix Version/s: None
To reproduce, do the following:
2. In a forum discussion, click Reply
3. The HTML editor does not appear. Type in some text like the following:
4. Save the reply. Observe that the text appears in a single line.
This is because the 'format' field in forumng_posts is set to 1 (FORMAT_HTML)
whereas, when the html editor is not used, it should be set to 0
Two other ways to reproduce this (not tested):
1. Post a reply on a mobile phone (e.g. iPhone). On these devices, even when
thing happens. (This is how it was reported.)
is enabled, the html editor is not enabled. Probably the same thing happens.
Could we make it so that whatever method is used to create a forum post (reply
or new discussion), the system detects whether the html editor was actually
used, and defaults the format to FORMAT_MOODLE if it was not.
note: I think there might have been a format dropdown which we are hiding, so
this may have something to do with it. If we are hiding the dropdown, we
probably want to keep hiding it, so this may have to do with the default
setting for the dropdown.