From b746fcf52b780f2546d41a5f11c48468cc1a4947 Mon Sep 17 00:00:00 2001 From: Julius Knorr Date: Fri, 3 Jan 2025 15:13:04 +0100 Subject: [PATCH] fix: Load focus trap extension in markdown content editor Signed-off-by: Julius Knorr --- src/components/Editor/MarkdownContentEditor.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Editor/MarkdownContentEditor.vue b/src/components/Editor/MarkdownContentEditor.vue index 992a83c578d..419ca89717f 100644 --- a/src/components/Editor/MarkdownContentEditor.vue +++ b/src/components/Editor/MarkdownContentEditor.vue @@ -31,7 +31,7 @@ import { ATTACHMENT_RESOLVER, EDITOR, IS_RICH_EDITOR } from '../Editor.provider. import { createMarkdownSerializer } from '../../extensions/Markdown.js' import AttachmentResolver from '../../services/AttachmentResolver.js' import markdownit from '../../markdownit/index.js' -import { RichText } from '../../extensions/index.js' +import { RichText, FocusTrap } from '../../extensions/index.js' import ReadonlyBar from '../Menu/ReadonlyBar.vue' import ContentContainer from './ContentContainer.vue' @@ -133,6 +133,7 @@ export default { History, ], }), + FocusTrap, ] }, createEditor() {