From eee08508a28560c6c8222b8e05d1e3fdd52132df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Ku=CC=88hn?= Date: Sat, 19 Jan 2019 10:28:35 +0100 Subject: [PATCH] add tabindex property to editor, fixed #115 --- packages/tiptap/src/Editor.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/tiptap/src/Editor.js b/packages/tiptap/src/Editor.js index 0fe11659..41766d46 100644 --- a/packages/tiptap/src/Editor.js +++ b/packages/tiptap/src/Editor.js @@ -162,6 +162,9 @@ export default class Editor { new Plugin({ props: { editable: () => this.options.editable, + attributes: { + tabindex: 0, + }, }, }), ],