-
Bug
-
Resolution: Fixed
-
Blocker
-
2.7
-
MOODLE_27_STABLE
-
MDL-44063-master -
-
40
-
FRONTEND Sprint 10
Currently, Atto does not insert anything in an empty text area, this works OK - but browsers will use divs by default, it would be better to make the default a paragraph (more semantic).
We can do this easily by inserting <p></p> in init if there is no text and removing <p></p> on clean_html if it is the only thing in the div.