Skip to content

Commit

Permalink
fix: Load focus trap extension in markdown content editor
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Knorr <[email protected]>
  • Loading branch information
juliusknorr committed Jan 3, 2025
1 parent 6702ab9 commit d15759b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Editor/MarkdownContentEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Check warning on line 34 in src/components/Editor/MarkdownContentEditor.vue

View check run for this annotation

Codecov / codecov/patch

src/components/Editor/MarkdownContentEditor.vue#L34

Added line #L34 was not covered by tests
import ReadonlyBar from '../Menu/ReadonlyBar.vue'
import ContentContainer from './ContentContainer.vue'

Expand Down Expand Up @@ -133,6 +133,7 @@ export default {
History,
],
}),
FocusTrap,

Check warning on line 136 in src/components/Editor/MarkdownContentEditor.vue

View check run for this annotation

Codecov / codecov/patch

src/components/Editor/MarkdownContentEditor.vue#L136

Added line #L136 was not covered by tests
]
},
createEditor() {
Expand Down

0 comments on commit d15759b

Please sign in to comment.