commit 7691587a142669d01ad1b6ff48e1c95a6d6b8df0 parent ad8ce20e0b52cf945476024a9fcdbb4d36ce3b28 Author: Henry Unite <unitehenry@gmail.com> Date: Wed, 14 Oct 2020 16:36:49 -0400 parse inserted links on set content Diffstat:
| M | src/striveneditor.js | | | 4 | +--- |
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/striveneditor.js b/src/striveneditor.js @@ -2497,9 +2497,7 @@ export default class StrivenEditor { se.clearContent(); if (html) { se.body.innerHTML = html; - [...se.body.querySelectorAll('a')].forEach( - link => (link.parsed = true), - ); + se.convertLinks(); } }