@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.
- package/dist/tiptap-core.cjs.js +6 -2
- package/dist/tiptap-core.cjs.js.map +1 -1
- package/dist/tiptap-core.esm.js +6 -2
- package/dist/tiptap-core.esm.js.map +1 -1
- package/dist/tiptap-core.umd.js +6 -2
- package/dist/tiptap-core.umd.js.map +1 -1
- package/package.json +2 -2
- package/src/extensions/tabindex.ts +6 -2
package/dist/tiptap-core.umd.js
CHANGED
|
@@ -2166,8 +2166,12 @@
|
|
|
2166
2166
|
new prosemirrorState.Plugin({
|
|
2167
2167
|
key: new prosemirrorState.PluginKey('tabindex'),
|
|
2168
2168
|
props: {
|
|
2169
|
-
attributes: {
|
|
2170
|
-
|
|
2169
|
+
attributes: () => {
|
|
2170
|
+
if (this.editor.isEditable) {
|
|
2171
|
+
return {
|
|
2172
|
+
tabindex: '0',
|
|
2173
|
+
};
|
|
2174
|
+
}
|
|
2171
2175
|
},
|
|
2172
2176
|
},
|
|
2173
2177
|
}),
|