Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

fix(ckeditor): restore focus after importing markdown #2304

Merged
merged 1 commit into from
Jun 13, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apps/client/src/widgets/dialogs/markdown_import.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export default class MarkdownImportDialog extends BasicWidget {
const modelFragment = textEditor.data.toModel(viewFragment);

textEditor.model.insertContent(modelFragment, textEditor.model.document.selection);
textEditor.editing.view.focus();

toastService.showMessage(t("markdown_import.import_success"));
}
Expand Down