When I select all in a medium.js rich editor div, and type something (even in the demo http://jakiestfu.github.io/Medium.js/docs/) the div gets all <p> tags removed, and raw text is placed in the div. After that it is only a simple plain text editor without paragraphs and any formatting, until I clear it, unfocus it and go back.
The problem is non-existent in Chrome.
new Medium({
element: document.getElementById('task-edit-1'),
mode: Medium.richMode,
autoHR: false,
placeholder: 'What to do next...'
});
When I select all in a medium.js rich editor div, and type something (even in the demo http://jakiestfu.github.io/Medium.js/docs/) the div gets all
<p>tags removed, and raw text is placed in the div. After that it is only a simple plain text editor without paragraphs and any formatting, until I clear it, unfocus it and go back.The problem is non-existent in Chrome.