diff --git a/app/scenes/Document/components/Editor.tsx b/app/scenes/Document/components/Editor.tsx index d20c3416f..372d5e7b7 100644 --- a/app/scenes/Document/components/Editor.tsx +++ b/app/scenes/Document/components/Editor.tsx @@ -106,7 +106,7 @@ function DocumentEditor(props: Props, ref: React.RefObject) { ref={ref} autoFocus={!!document.title && !props.defaultValue} placeholder={t("Type '/' to insert, or start writing…")} - scrollTo={window.location.hash} + scrollTo={decodeURIComponent(window.location.hash)} readOnly={readOnly} shareId={shareId} extensions={fullPackage}