mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 22:25:01 +00:00
fix: can't type space in a whiteboard block
Fixes LOG-3134
This commit is contained in:
@@ -23,8 +23,8 @@ export const QuickLinks: TLQuickLinksComponent<Shape> = observer(({ shape }) =>
|
||||
// do not show links for the current page
|
||||
return links.filter(
|
||||
link =>
|
||||
link[0].toLowerCase() !== app.currentPage.name &&
|
||||
handlers.getBlockPageName(link[0]) !== app.currentPage.name
|
||||
link[0].toLowerCase() !== app.currentPage.id &&
|
||||
link[0] !== shape.props.pageId
|
||||
)
|
||||
}, [shape.props.id, shape.props.type, shape.props.parentId, shape.props.refs])
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ export class TLSettings implements TLSettingsProps {
|
||||
|
||||
@observable mode: 'dark' | 'light' = 'light'
|
||||
@observable showGrid = true
|
||||
@observable snapToGrid = true
|
||||
@observable snapToGrid = false
|
||||
@observable penMode = false
|
||||
@observable scaleLevel = 'md'
|
||||
@observable color = ''
|
||||
|
||||
Reference in New Issue
Block a user