@tiptap/core 2.11.5 → 2.11.6

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/index.umd.js CHANGED
@@ -3896,13 +3896,14 @@
3896
3896
  },
3897
3897
  });
3898
3898
 
3899
+ const focusEventsPluginKey = new state.PluginKey('focusEvents');
3899
3900
  const FocusEvents = Extension.create({
3900
3901
  name: 'focusEvents',
3901
3902
  addProseMirrorPlugins() {
3902
3903
  const { editor } = this;
3903
3904
  return [
3904
3905
  new state.Plugin({
3905
- key: new state.PluginKey('focusEvents'),
3906
+ key: focusEventsPluginKey,
3906
3907
  props: {
3907
3908
  handleDOMEvents: {
3908
3909
  focus: (view, event) => {
@@ -4092,7 +4093,8 @@
4092
4093
  FocusEvents: FocusEvents,
4093
4094
  Keymap: Keymap,
4094
4095
  Paste: Paste,
4095
- Tabindex: Tabindex
4096
+ Tabindex: Tabindex,
4097
+ focusEventsPluginKey: focusEventsPluginKey
4096
4098
  });
4097
4099
 
4098
4100
  class NodePos {