We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57e75bd commit 0cfa233Copy full SHA for 0cfa233
src/EditorFactory.js
@@ -5,6 +5,7 @@
5
6
import 'proxy-polyfill'
7
8
+import { translate as t } from '@nextcloud/l10n'
9
import { Editor } from '@tiptap/core'
10
import hljs from 'highlight.js/lib/core'
11
import { createLowlight } from 'lowlight'
@@ -35,6 +36,10 @@ const loadSyntaxHighlight = async (language) => {
35
36
const editorProps = {
37
scrollMargin: 50,
38
scrollThreshold: 50,
39
+ attributes: {
40
+ role: 'textbox',
41
+ 'aria-label': t('text', 'Text editor'),
42
+ },
43
}
44
45
const createRichEditor = ({
0 commit comments