π₯π₯π₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.
TypeScript boardsbug-trackerdjangodockerganttissue-trackerjirajira-alternativekanbanlinearpostgresqlproduct-managementproject-managementproject-planningpythonreactredistypesciptvitework-management
regression: focus changing issue with the peek overview editor (#4700)
M. Palanikannan8c5f6932143d
diff --git a/packages/editor/core/src/hooks/use-editor.tsx b/packages/editor/core/src/hooks/use-editor.tsxindex 76071791b6..563cb5122e 100644--- a/packages/editor/core/src/hooks/use-editor.tsx+++ b/packages/editor/core/src/hooks/use-editor.tsx@@ -112,7 +112,7 @@ export const useEditor = ({if (value === null || value === undefined) return;if (editor && !editor.isDestroyed && !editor.storage.image.uploadInProgress) {try {- editor.commands.setContent(value);+ editor.commands.setContent(value, false, { preserveWhitespace: "full" });const currentSavedSelection = savedSelectionRef.current;if (currentSavedSelection) {const docLength = editor.state.doc.content.size;