@bigbinary/neeto-editor 1.38.2 → 1.38.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/Editor.js CHANGED
@@ -9947,9 +9947,14 @@ var linkInputRule = function linkInputRule(config) {
9947
9947
  return new InputRule({
9948
9948
  find: config.find,
9949
9949
  handler: function handler(props) {
9950
- var tr = props.state.tr;
9951
- defaultMarkInputRule.handler(props);
9952
- tr.setMeta("preventAutolink", true);
9950
+ try {
9951
+ var tr = props.state.tr;
9952
+ defaultMarkInputRule.handler(props);
9953
+ tr.setMeta("preventAutolink", true);
9954
+ } catch (error) {
9955
+ // https://app.honeybadger.io/projects/94805/faults/108936285
9956
+ if (!(error instanceof RangeError)) throw error;
9957
+ }
9953
9958
  }
9954
9959
  });
9955
9960
  };