♻️ rm hasContext

This commit is contained in:
Vanessa 2022-08-06 01:02:55 +08:00
parent e40bc18d86
commit d2a6c03d52
27 changed files with 31 additions and 92 deletions

View file

@ -48,7 +48,6 @@ interface IPdfAnno {
interface IBackStack {
id: string,
scrollTop?: number,
hasContext?: boolean,
callback?: string[],
position?: { start: number, end: number }
protyle?: IProtyle,
@ -157,7 +156,6 @@ declare interface IOpenFileOptions {
position?: string, // file 或者 asset打开位置
page?: number | string, // asset
mode?: TEditorMode // file
hasContext?: boolean // file是否带上下文
action?: string[]
keepCursor?: boolean // file是否跳转到新 tab 上
zoomIn?: boolean // 是否缩放

View file

@ -345,7 +345,6 @@ interface IOptions {
action?: string[],
mode?: TEditorMode,
blockId: string
hasContext?: boolean
key?: string
defId?: string
render?: {