Polyfill document.execCommand to ensure cross-browser compat #36
Open
opened 4 years ago by garrettmills
·
0 comments
Loading…
Reference in new issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
The
document.execCommand
function that we use in the WYSIWYG has been deprecated for some time, and so not all WYSIWYG buttons work on all browsers.Let's polyfill it ourselves so we can ensure that it always works in the future.