mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-25 09:46:10 +01:00
🐛 Code appears when pasted as plain text Fix https://github.com/siyuan-note/siyuan/issues/10435
This commit is contained in:
parent
0970c63bcd
commit
b22624b417
2 changed files with 3 additions and 0 deletions
|
|
@ -3,6 +3,7 @@ export const setLute = (options: ILuteOptions) => {
|
|||
lute.SetSpellcheck(window.siyuan.config.editor.spellcheck);
|
||||
lute.SetProtyleMarkNetImg(window.siyuan.config.editor.displayNetImgMark);
|
||||
lute.SetFileAnnotationRef(true);
|
||||
lute.SetHTMLTag2TextMark(true);
|
||||
lute.SetTextMark(true);
|
||||
lute.SetHeadingID(false);
|
||||
lute.SetYamlFrontMatter(false);
|
||||
|
|
|
|||
2
app/src/types/protyle.d.ts
vendored
2
app/src/types/protyle.d.ts
vendored
|
|
@ -172,6 +172,8 @@ declare class Lute {
|
|||
|
||||
public SetTextMark(enable: boolean): void;
|
||||
|
||||
public SetHTMLTag2TextMark(enable: boolean): void;
|
||||
|
||||
public SetHeadingID(enable: boolean): void;
|
||||
|
||||
public SetProtyleMarkNetImg(enable: boolean): void;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue