vault backup: 2023-05-09 12:36:16

This commit is contained in:
Daniel Bulant 2023-05-09 12:36:16 +02:00
parent 8f7dba99b7
commit 5a06081143
14 changed files with 736 additions and 363 deletions

View file

@ -15,7 +15,7 @@
},
"syntaxHighlight": false,
"copyButton": false,
"version": "9.2.3",
"version": "9.3.1",
"autoCollapse": false,
"defaultCollapseType": "open",
"injectColor": true,

File diff suppressed because one or more lines are too long

View file

@ -1,7 +1,7 @@
{
"id": "obsidian-admonition",
"name": "Admonition",
"version": "9.2.3",
"version": "9.3.1",
"minAppVersion": "1.1.0",
"description": "Enhanced callouts for Obsidian.md",
"author": "Jeremy Valentine",

File diff suppressed because one or more lines are too long

View file

@ -104185,14 +104185,22 @@ const DEF_DELAY = 1000;
function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms || DEF_DELAY));
}
function insertText(editor, text) {
if (text.length === 0 || text == null)
return;
const cursor = editor.getCursor('from');
editor.replaceRange(text, cursor, cursor);
app.commands.executeCommandById("editor:focus");
app.workspace.activeLeaf.view.editor.exec("goRight");
}
class EmojiModal extends obsidian.Modal {
constructor(app, theme, isNative) {
constructor(app, theme, isNative, editor) {
super(app);
this.reactComponent = react.createElement(EmojiToolbar, {
"onSelect": async (emoji) => {
this.close();
await sleep(10);
document.execCommand('insertText', false, emoji.native);
insertText(editor, emoji.native);
},
"onClose": () => {
this.close();
@ -104233,7 +104241,11 @@ class EmojiPickerPlugin extends obsidian.Plugin {
try {
const theme = this.app.getTheme() === 'moonstone' ? 'light' : 'dark';
const isNative = !this.settings.twitterEmojiActive;
const myModal = new EmojiModal(this.app, theme, isNative);
const view = this.app.workspace.getActiveViewOfType(obsidian.MarkdownView);
if (!view) {
return;
}
const myModal = new EmojiModal(this.app, theme, isNative, view.editor);
myModal.open();
document.getElementsByClassName("emoji-mart-search")[0].getElementsByTagName('input')[0].focus();
document.getElementsByClassName("emoji-mart-search")[0].getElementsByTagName('input')[0].select();

View file

@ -1,7 +1,7 @@
{
"id": "obsidian-emoji-toolbar",
"name": "Emoji Toolbar",
"version": "0.4.0",
"version": "0.4.1",
"description": "Quickly search for and insert emojis into your notes.",
"author": "oliveryh",
"authorUrl": "https://github.com/oliveryh/obsidian-emoji-toolbar",

File diff suppressed because one or more lines are too long

View file

@ -1,7 +1,7 @@
{
"id": "obsidian-kanban",
"name": "Kanban",
"version": "1.5.2",
"version": "1.5.3",
"minAppVersion": "1.0.0",
"description": "Create markdown-backed Kanban boards in Obsidian.",
"author": "mgmeyers",

File diff suppressed because one or more lines are too long

View file

@ -1,7 +1,7 @@
{
"id": "obsidian-outliner",
"name": "Outliner",
"version": "4.6.5",
"version": "4.6.7",
"minAppVersion": "1.1.16",
"description": "Work with your lists like in Workflowy or RoamResearch.",
"author": "Viacheslav Slinko",

View file

@ -70,10 +70,15 @@
}
/* drag-n-drop */
.outliner-plugin-dragging-line {
.outliner-plugin-dropping-line {
background-color: hsla(var(--interactive-accent-hsl), 0.4);
}
.outliner-plugin-dragging-line {
opacity: 0.5;
background-color: hsla(var(--interactive-accent-hsl), 0.2);
}
.outliner-plugin-drop-zone {
width: 300px;
height: 4px;

File diff suppressed because one or more lines are too long

View file

@ -1,7 +1,7 @@
{
"id": "obsidian-spaced-repetition",
"name": "Spaced Repetition",
"version": "1.10.0",
"version": "1.10.1",
"minAppVersion": "0.15.4",
"description": "Fight the forgetting curve by reviewing flashcards & entire notes.",
"author": "Stephen Mwangi",

View file

@ -194,7 +194,7 @@
}
},
{
"id": "f67c3695a56603f0",
"id": "dbddec9c14a6f939",
"type": "leaf",
"state": {
"type": "review-queue-list-view",
@ -219,13 +219,13 @@
"command-palette:Open command palette": false,
"markdown-importer:Open format converter": false,
"table-editor-obsidian:Advanced Tables Toolbar": false,
"obsidian-spaced-repetition:Review flashcards": false,
"obsidian-excalidraw-plugin:Create new drawing": false,
"omnisearch:Omnisearch": false,
"breadcrumbs:Breadcrumbs Visualisation": false
"breadcrumbs:Breadcrumbs Visualisation": false,
"obsidian-spaced-repetition:Review flashcards": false
}
},
"active": "4965e0184562b8f7",
"active": "dbddec9c14a6f939",
"lastOpenFiles": [
"fyz/pohyb/Periodický a kmitavý/Rychlost a zrychlení.md",
"fyz/pohyb/Periodický a kmitavý/Fáze.md",