mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-24 07:54:07 +01:00
This commit is contained in:
parent
b0de05da78
commit
d4746d67e6
2 changed files with 3 additions and 3 deletions
|
|
@ -28,14 +28,14 @@ export class Editor extends Model {
|
|||
this.initProtyle(options);
|
||||
}
|
||||
|
||||
private initProtyle(options: {
|
||||
private initProtyle(options: {
|
||||
blockId: string,
|
||||
action?: string[]
|
||||
mode?: TEditorMode,
|
||||
scrollAttr?: IScrollAttr
|
||||
}) {
|
||||
this.editor = new Protyle(this.element, {
|
||||
action: options.action,
|
||||
action: options.action || [],
|
||||
blockId: options.blockId,
|
||||
mode: options.mode,
|
||||
render: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue