Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Properties and content of the webpage not copied over to the created markdown file #359

Open
marclove opened this issue Feb 13, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@marclove
Copy link

marclove commented Feb 13, 2025

Version (please complete the following information):

  • OS: macOS 15.1 (24B83)
  • Browser Chrome
  • Web Clipper version: Version 0.10.8
  • Obsidian version: Version 1.5.11 (Installer 1.4.13)

Describe the bug

Tapping on the Obsidian Extension's icon in the toolbar or using the keyboard shortcut shows all the correct information in the extension's UI popover. However, when I click on "Add To Obsidian," it creates a markdown file in the vault with only the title set, none of the properties or body gets copied over.

Expected behavior

The markdown file created should have the title, properties, and body that are displayed in the extension popover.

URLs where the bug occurs

All urls.

To reproduce

Steps to reproduce the behavior:

  1. Go to any web page
  2. Click on the extension button
  3. See that the correct information is populated in the extension's popover.
Image
  1. Click on "Add To Obsidian"
  2. See that the file created in your Obsidian vault only has the title set and nothing else.
Image

Your template file

{
  "schemaVersion": "0.1.0",
  "name": "Default",
  "behavior": "create",
  "noteContentFormat": "{{content}}",
  "properties": [
    {
      "name": "title",
      "value": "{{title}}",
      "type": "text"
    },
    {
      "name": "source",
      "value": "{{url}}",
      "type": "text"
    },
    {
      "name": "author",
      "value": "{{author|split:\", \"|wikilink|join}}",
      "type": "multitext"
    },
    {
      "name": "published",
      "value": "{{published}}",
      "type": "date"
    },
    {
      "name": "created",
      "value": "{{date}}",
      "type": "date"
    },
    {
      "name": "description",
      "value": "{{description}}",
      "type": "text"
    },
    {
      "name": "tags",
      "value": "clippings",
      "type": "multitext"
    }
  ],
  "triggers": [],
  "noteNameFormat": "{{title}}",
  "path": "Clippings"
}
@marclove marclove added the bug Something isn't working label Feb 13, 2025
@marclove marclove changed the title BUG: BUG: Properties and content of the webpage not copied over to the created markdown file Feb 13, 2025
@kepano
Copy link
Collaborator

kepano commented Feb 14, 2025

Obsidian Web Clipper requires Obsidian 1.7.2 unless you use legacy mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants