Open louiswalch opened 8 years ago
This is probably an issue with converting the HTML the editor field generates to markdown. Seems like the conversion lib we're using doesn't support line breaks in markdown (append 2 or more spaces to the end of a line to create a hard line break).
An ugly bugfix for this problem (in field-wysiwyg/field/wysiwyg.php):
protected function convertToHtml($markdown)
{
$Parsedown = new Parsedown();
return str_replace("\n", '<br>', $Parsedown->text($markdown));
}
Using SHIFT+ENTER to make a line break between lines is replaced with a paragraph break when you save the page.