Remove spectific error at console log

 avatar
shin98
plain_text
a year ago
242 B
4
Indexable
console.error = (function (_error) {
  return function (message) {
    if (
      typeof message !== 'string' ||
      message.indexOf('component is `contentEditable`') === -1
    ) {
      _error.apply(console);
    }
  };
})(console.error);
Editor is loading...
Leave a Comment