mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-12 07:32:34 +01:00
This commit is contained in:
parent
ad2510dfb5
commit
b5b46afabd
9 changed files with 124 additions and 97 deletions
10
app/src/types/index.d.ts
vendored
10
app/src/types/index.d.ts
vendored
|
|
@ -126,6 +126,16 @@ interface ISiyuan {
|
|||
dialogs: import("../dialog").Dialog[],
|
||||
}
|
||||
|
||||
interface IScrollAttr {
|
||||
startId: string,
|
||||
endId: string
|
||||
scrollTop: number,
|
||||
focusId?: string,
|
||||
focusStart?: number
|
||||
focusEnd?: number
|
||||
zoomInId?: string
|
||||
}
|
||||
|
||||
interface IOperation {
|
||||
action: TOperation, // move, delete 不需要传 data
|
||||
id: string,
|
||||
|
|
|
|||
2
app/src/types/protyle.d.ts
vendored
2
app/src/types/protyle.d.ts
vendored
|
|
@ -346,7 +346,7 @@ interface IOptions {
|
|||
mode?: TEditorMode,
|
||||
blockId: string
|
||||
key?: string
|
||||
scrollAttr?: string
|
||||
scrollAttr?: IScrollAttr
|
||||
defId?: string
|
||||
render?: {
|
||||
background?: boolean
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue