diff --git a/packages/forms/resources/js/components/markdown-editor.js b/packages/forms/resources/js/components/markdown-editor.js index c51ec9dded..8f8fd4ebc4 100644 --- a/packages/forms/resources/js/components/markdown-editor.js +++ b/packages/forms/resources/js/components/markdown-editor.js @@ -120,7 +120,10 @@ export default function markdownEditorFormComponent({ uploadImage: true, }) - this.editor.codemirror.setOption('direction', document.documentElement?.dir ?? 'ltr') + this.editor.codemirror.setOption( + 'direction', + document.documentElement?.dir ?? 'ltr', + ) // When creating a link, highlight the URL instead of the label: this.editor.codemirror.on('changes', (instance, changes) => {