3 ms·
https://github.com/paulhodel/jtools/blob/master/src/editor.js#L64 https://github.com/paulhodel/jtools/blob/master/src/editor.j... You can do this safer with:
by megous 7y ago
https://github.com/paulhodel/jtools/blob/master/src/editor.js#L64 https://github.com/paulhodel/jtools/blob/master/src/editor.j...
You can do this safer with:
https://developer.mozilla.org/en-US/docs/Web/API/DOMParser https://developer.mozilla.org/en-US/docs/Web/API/DOMParser
an then just removing what you don't want to have via querySelectorAll() and remove().
- paulhodel 7y agoI will double check that. Thank you ;)