Skip to content

Inline Context stopped working some time ago, no HTML inline context components injected #297

@replete

Description

@replete

Problem

Thanks for making a great plugin, although I am just using it for the banners functionality. Or at least I was until it stopped working late last year.

If I delete the plugin and reinstall, it works on first boot, but then stops working after restarting Obsidian. By not working I mean that no HTML components are loaded into the editor, hence no banners. But Flow still works, so I'm guessing this is some settings bug related to a perhaps uncommon use-case of a user only have a minimal set of settings enabled?

Screenshot 2024-03-27 at 11 55 20
There should be some HTML appearing in the DOM such as <div class="mk-inline-context">..., but it does not appear to inject the component anymore...

I can create a new note with frontmatter such as:

---
banner:   Assets/Banners/image.jpg
---

Nothing happens...

Environment

Obsidian: v1.5.11 (installer 1.5.11)
MacOS: 13.6.5
Make.MD: 0.95

Make.MD Settings

Screenshot 2024-03-27 at 12 18 14
Screenshot 2024-03-27 at 12 18 24
Screenshot 2024-03-27 at 12 18 46

data.json:

{
  "newNotePlaceholder": "Untitled", 
  "defaultInitialization": false, 
  "filePreviewOnHover": false, 
  "flowMenuEnabled": true, 
  "markSans": false, 
  "blinkEnabled": false, 
  "makeMenuPlaceholder": false, 
  "mobileMakeBar": true, 
  "inlineStyler": true, 
  "makerMode": true, 
  "imageThumbnails": false, 
  "spacesMDBInHidden": true, 
  "inlineStylerColors": false, 
  "editorFlow": true, 
  "internalLinkClickFlow": true, 
  "contextEnabled": false, 
  "spaceViewEnabled": false, 
  "saveAllContextToFrontmatter": false, 
  "editorFlowStyle": "seamless", 
  "autoOpenFileContext": false, 
  "activeView": "Spaces/Home", 
  "hideFrontmatter": true, 
  "activeSpace": "", 
  "defaultDateFormat": "MMM dd yyyy", 
  "spacesEnabled": false, 
  "spacesPerformance": false, 
  "enableFolderNote": true, 
  "folderIndentationLines": true, 
  "revealActiveFile": false, 
  "spacesStickers": false, 
  "spaceRowHeight": 29, 
  "spacesDisablePatch": false, 
  "folderNoteInsideFolder": true, 
  "sidebarTabs": true, 
  "showRibbon": true, 
  "deleteFileOption": "trash", 
  "expandedSpaces": [
    "/"
  ], 
  "expandFolderOnClick": true, 
  "menuTriggerChar": "/", 
  "inlineStickerMenu": false, 
  "emojiTriggerChar": ":", 
  "folderContextFile": "context", 
  "folderFrameFile": "frames", 
  "spacesFolder": "Spaces", 
  "hiddenFiles": [], 
  "hiddenExtensions": [
    ".mdb"
  ], 
  "inlineBacklinks": false, 
  "inlineContext": true, 
  "inlineBacklinksExpanded": false, 
  "inlineContextExpanded": true, 
  "inlineContextSectionsExpanded": true, 
  "dataviewInlineContext": false, 
  "inlineContextNameLayout": "vertical", 
  "waypoints": [
    "Spaces/Home", 
    "/", 
    "spaces://$tags"
  ], 
  "spacesUseAlias": false, 
  "fmKeyAlias": "aliases", 
  "fmKeyBanner": "banner", 
  "fmKeyColor": "color", 
  "fmKeySticker": "sticker", 
  "fmKeyContexts": "_contexts", 
  "fmKeySort": "_sort", 
  "fmKeyFilter": "_filters", 
  "fmKeyLinks": "_links", 
  "openSpacesOnLaunch": true, 
  "indexSVG": false, 
  "quickFrames": [], 
  "readableLineWidth": true, 
  "autoAddContextsToSubtags": true, 
  "autoMigration08": false, 
  "releaseNotesPrompt": 0.9, 
  "enableDefaultSpaces": false, 
  "enableTagSpaces": true, 
  "enableHomeSpace": true, 
  "showSpacePinIcon": true, 
  "minimalFix": true, 
  "experimental": false, 
  "systemName": "Vault"
}

Installed plugins:

// [...new Set(app.plugins.enabledPlugins)] (34) 
['obsidian-advanced-uri', 'auto-class', 'calendar', 'cmdr', 'obsidian-hide-sidebars-when-narrow', 'hotkeysplus-obsidian', 'obsidian-icon-folder', 'obsidian-excalidraw-plugin', 'cm-editor-syntax-highlight-obsidian', 'obsidian-minimal-settings', 'obsidian-meta-bind-plugin', 'open-vscode', 'periodic-notes', 'quickadd', 'obsidian-task-progress-bar', 'templater-obsidian', 'obsidian-toggle-list', 'mysnippets-plugin', 'no-dupe-leaves', 'file-explorer-note-count', 'easy-toggle-sidebars', 'settings-search', 'modalforms', 'obsidian-daily-note-outline', 'custom-sort', 'obsidian-shortcut-launcher', 'obsidian-contextual-typography', 'open-in-new-tab', 'obsidian-tracker', 'omnisearch', 'snippet-commands-obsidian', 'dataview', 'obsidian-custom-frames', 'make-md']

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions