Re: [whatwg/dom] Proposal: ChildNode.wrapWith() (#479)

@jonathantneal @domenic FWIW I believe the implementation of this can lean upon the `Document.execCommand ('formatBlock', undefined, wrapWithThisTag)` API. The only caveat is `formatBlock` uses selected content but conceptually similar in implementation. https://developer.mozilla.org/en-US/docs/Web/API/Document/execCommand

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/479#issuecomment-317312274

Received on Monday, 24 July 2017 03:44:24 UTC