Polyfill document.execCommand to ensure cross-browser compat #36
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The
document.execCommandfunction 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.