grande.js
grande.js copied to clipboard
Replace execCommand defaults with semantic tags
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.