Skip to content

Property created from input is created at the top, but shoul be placed after '---' already in place #541

@CleanAir777

Description

@CleanAir777

Please fill out these Check-boxes

  • I checked for existing similar issues
  • I checked that the plugin is up to date
  • The issue persists with all other plugins and themes disabled

Plugin Version

1.3.4

This Issue Occurs on

  • Windows
  • Linux
  • macOS
  • Android
  • iOS

Debug Info

SYSTEM INFO:
	Obsidian version: v1.8.9
	Installer version: v1.8.9
	Operating system: #1 SMP PREEMPT_DYNAMIC Thu, 13 Mar 2025 14:07:27 +0000 6.12.19-1-MANJARO
	Login status: not logged in
	Language: en
	Insider build toggle: off
	Live preview: on
	Base theme: dark
	Community theme: ITS Theme v1.2.85
	Snippets enabled: 1
	Restricted mode: off
	Plugins installed: 35
	Plugins enabled: 34
		1: Tasks v7.18.3
		2: Dataview v0.5.68
		3: Templater v2.10.0
		4: Natural Language Dates v0.6.2
		5: Commander v0.5.2
		6: Homepage v4.1
		7: Force note view mode v1.2.2
		8: Emoji Toolbar v0.4.1
		9: QuickAdd v1.13.2
		10: File Tree Alternative v2.6.0
		11: Meta Bind v1.3.4
		12: Style Settings v1.0.9
		13: Sortable v0.3.1
		14: Minimal Theme Settings v8.1.1
		15: Hider v1.5.1
		16: Canvas Filter v0.9.4
		17: Workspaces Plus v0.3.3
		18: Excalidraw v2.9.2
		19: Omnisearch v1.26.1
		20: Text Extractor v0.5.2
		21: List Callouts v1.2.9
		22: Open vault in VSCode v1.3.0
		23: HTML Tabs v1.1.0
		24: CalcCraft v1.1.2
		25: Advanced URI v1.44.3
		26: Advanced Tables v0.22.1
		27: Canvas Keyboard Pan v1.0.1
		28: Shrink pinned tabs v1.0.7
		29: Extract url content v0.12.1
		30: Shell commands v0.23.0
		31: Quick Switcher++ v5.0.0
		32: Another Sticky Headings v2.1.3
		33: Notice logger v0.1.1
		34: Leaflet v6.0.5

RECOMMENDATIONS:
	Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
	Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

Describe the Issue

I have a template, which contains 4 sections.

  1. Templater Javascript code to fill some variables and properties ('<%* ... -%>')
  2. Frontmatter between '---', where my properties reside
  3. A table containing meta bind inputs and views
  4. The note title and the rest of the document

I wanted to add an extra property to the template, and set a default value for it. So I added the property name and default value in the frontmatter section, and an extra row in the table (3) with an input inlineSelect.

When I open the note, and change the new property via the input selector, a new frontmatter section is added at line 1, containing only this property, moving everything else down.

This turns the original frontmatter into normal text, and stop being properties.

Steps to Reproduce

See desciption above

Expected Behavior

I expected the property to be inserted (or edited, since I already added it manually) inside the frontmatter section that already exists (2)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behavior caused by this plugin

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions