@tiptap/core 2.11.4 → 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.js CHANGED
@@ -3898,13 +3898,14 @@ const Editable = Extension.create({
3898
3898
  },
3899
3899
  });
3900
3900
 
3901
+ const focusEventsPluginKey = new PluginKey('focusEvents');
3901
3902
  const FocusEvents = Extension.create({
3902
3903
  name: 'focusEvents',
3903
3904
  addProseMirrorPlugins() {
3904
3905
  const { editor } = this;
3905
3906
  return [
3906
3907
  new Plugin({
3907
- key: new PluginKey('focusEvents'),
3908
+ key: focusEventsPluginKey,
3908
3909
  props: {
3909
3910
  handleDOMEvents: {
3910
3911
  focus: (view, event) => {
@@ -4094,7 +4095,8 @@ var index = /*#__PURE__*/Object.freeze({
4094
4095
  FocusEvents: FocusEvents,
4095
4096
  Keymap: Keymap,
4096
4097
  Paste: Paste,
4097
- Tabindex: Tabindex
4098
+ Tabindex: Tabindex,
4099
+ focusEventsPluginKey: focusEventsPluginKey
4098
4100
  });
4099
4101
 
4100
4102
  class NodePos {