🎨 Find replace supports selecting element types https://github.com/siyuan-note/siyuan/issues/9895

This commit is contained in:
Daniel 2023-12-17 17:39:16 +08:00
parent ef6598eaf8
commit af53d6a73a
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
8 changed files with 151 additions and 26 deletions

View file

@ -521,17 +521,17 @@ export abstract class Constants {
[key: string]: boolean;
} = {
"text": true,
"img-text": true,
"img-title": true,
"img-src": false,
"a-text": true,
"a-title": true,
"a-href": false,
"imgText": true,
"imgTitle": true,
"imgSrc": false,
"aText": true,
"aTitle": true,
"aHref": false,
"code": false,
"em": true,
"strong": true,
"inline-math": false,
"inline-memo": true,
"inlineMath": false,
"inlineMemo": true,
"kbd": true,
"mark": true,
"s": true,
@ -539,11 +539,11 @@ export abstract class Constants {
"sup": true,
"tag": true,
"u": true,
"doc-title": true,
"code-block": false,
"math-block": false,
"html-block": false
};
"docTitle": true,
"codeBlock": false,
"mathBlock": false,
"htmlBlock": false
}
// image
public static readonly SIYUAN_IMAGE_VIP: string = `<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">