@tiptap/core 2.0.0-beta.171 → 2.0.0-beta.172

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.
@@ -2172,8 +2172,12 @@ const Tabindex = Extension.create({
2172
2172
  new prosemirrorState.Plugin({
2173
2173
  key: new prosemirrorState.PluginKey('tabindex'),
2174
2174
  props: {
2175
- attributes: {
2176
- tabindex: '0',
2175
+ attributes: () => {
2176
+ if (this.editor.isEditable) {
2177
+ return {
2178
+ tabindex: '0',
2179
+ };
2180
+ }
2177
2181
  },
2178
2182
  },
2179
2183
  }),