Closed ghost closed 2 years ago
I've had look at this issue, it looks fairly straight forward to resolve. I should be able to generate a pull request next week.
Issue has been resolved with pull request #92. The resolution was to produce the following mark-up (which proved more reliable in testing):
<p>line one</p>
<p>line two</p>
<p>line three</p>
Summernote: 0.8.18 Jquery: 3.6.0 Browsers: Firefox (97.0.1 64-bit), Edge Chromium 98.0.1108.56 (64-bit)
I was just testing the updated plugin on a test site with only the cleaner plugin and default configuration.
The test consisted of pasting HTML content and plain text content. Pasting HTML worked as expected and inserted the parsed html content.
When pasting plain text, such as below:
Nothing is pasted/inserted into the editor.
Expected result; the following would be pasted into the editable area HTML: