grande.js icon indicating copy to clipboard operation
grande.js copied to clipboard

Replace execCommand defaults with semantic tags

Open mduvall opened this issue 11 years ago • 0 comments

Currently execCommand with bold and italic produce the <b> and <i> tags respectively. There should be an override to the document.execCommand to support the additional args and fall back to the standard if necessary, Medium looks like they implement a function queryCommandValue in the main-posters.bundle.js that provides some of this additional functionality.

mduvall avatar Sep 04 '13 06:09 mduvall