Skip to content

TagSpaces is an offline, open source, document manager with tagging support

fix dark mode

sytolka0dbdc962c57
diff --git a/package-lock.json b/package-lock.json
index 69a6231cd..ccbac7e57 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -23,7 +23,7 @@
"@tagspaces/tagspaces-common-aws3": "4.3.3",
"@tagspaces/tagspaces-common-cordova": "4.3.3",
"@tagspaces/tagspaces-indexer": "4.3.3",
- "@tagspaces/tagspaces-md": "4.1.14",
+ "@tagspaces/tagspaces-md": "4.3.4",
"aws-amplify": "^4.3.8",
"aws-sdk": "^2.1036.0",
"classnames": "^2.3.1",
@@ -13492,9 +13492,9 @@
}
},
"node_modules/@tagspaces/tagspaces-md": {
- "version": "4.1.14",
- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-md/-/tagspaces-md-4.1.14.tgz",
- "integrity": "sha512-TG/Ob04eVnAkGQxKLbaiaiELoZCKMnGnEaiyBiXexzgTbWCV7gKDRyy/9LEmBU/hOGUJXj1v1Nk2IZ37OhU9xA==",
+ "version": "4.3.4",
+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-md/-/tagspaces-md-4.3.4.tgz",
+ "integrity": "sha512-1I71IdkWDf5vEjdVAE4sEd4J+85jRAyX48G4eP0w99nbZWHpwbi59cgU8yLPyMNrXUZOx/zn0hRy5dfJ17DQug==",
"dependencies": {
"@milkdown/core": "7.3.5",
"@milkdown/ctx": "7.3.5",
@@ -59084,9 +59084,9 @@
}
},
"@tagspaces/tagspaces-md": {
- "version": "4.1.14",
- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-md/-/tagspaces-md-4.1.14.tgz",
- "integrity": "sha512-TG/Ob04eVnAkGQxKLbaiaiELoZCKMnGnEaiyBiXexzgTbWCV7gKDRyy/9LEmBU/hOGUJXj1v1Nk2IZ37OhU9xA==",
+ "version": "4.3.4",
+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-md/-/tagspaces-md-4.3.4.tgz",
+ "integrity": "sha512-1I71IdkWDf5vEjdVAE4sEd4J+85jRAyX48G4eP0w99nbZWHpwbi59cgU8yLPyMNrXUZOx/zn0hRy5dfJ17DQug==",
"requires": {
"@milkdown/core": "7.3.5",
"@milkdown/ctx": "7.3.5",
diff --git a/package.json b/package.json
index fc42fb888..4e872bcb6 100644
--- a/package.json
+++ b/package.json
@@ -163,7 +163,7 @@
"@tagspaces/tagspaces-common-aws3": "4.3.3",
"@tagspaces/tagspaces-common-cordova": "4.3.3",
"@tagspaces/tagspaces-indexer": "4.3.3",
- "@tagspaces/tagspaces-md": "4.1.14",
+ "@tagspaces/tagspaces-md": "4.3.4",
"aws-amplify": "^4.3.8",
"aws-sdk": "^2.1036.0",
"classnames": "^2.3.1",
diff --git a/src/renderer/components/EntryContainer.tsx b/src/renderer/components/EntryContainer.tsx
index fcf312e8d..71adb1555 100644
--- a/src/renderer/components/EntryContainer.tsx
+++ b/src/renderer/components/EntryContainer.tsx
@@ -375,6 +375,7 @@ function EntryContainer() {
case 'contentChangedInEditor': {
if (!fileChanged.current) {
fileChanged.current = true;
+ openedEntry.editMode = true;
// to render DOT before file name (only first time)
forceUpdate();
}