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

Input fields not rendering in reading mode. #411

Closed
4 of 8 tasks
Akunus opened this issue Sep 9, 2024 · 3 comments
Closed
4 of 8 tasks

Input fields not rendering in reading mode. #411

Akunus opened this issue Sep 9, 2024 · 3 comments
Labels
bug Undesired behavior caused by this plugin

Comments

@Akunus
Copy link

Akunus commented Sep 9, 2024

Please fill out these Check-boxes

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

Plugin Version

1.1.3

This Issue Occurs on

  • Windows
  • Linux
  • macOS
  • Android
  • iOS

Debug Info

SYSTEM INFO:
	Obsidian version: v1.6.7
	Installer version: v1.5.12
	Operating system: Windows 10 Pro 10.0.22631
	Login status: not logged in
	Insider build toggle: off
	Live preview: on
	Base theme: dark
	Community theme: none
	Snippets enabled: 0
	Restricted mode: off
	Plugins installed: 1
	Plugins enabled: 1
		1: Meta Bind v1.1.3

RECOMMENDATIONS:
	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

This issue only happens in reading view. When a < h > element is before an input field, it fails to render. Can be fixed, by inserting an empty line beteween the < h > element and the input field.

Steps to Reproduce

  1. Write <h2>something</h2> 2. Go to next line. 3. Write Food INPUT[number:food] 4. Go to reading view. 5. See error.

Expected Behavior

I expected the plugin to not care about where its code is relative to other things in the document.

@Akunus Akunus added the bug Undesired behavior caused by this plugin label Sep 9, 2024
@mProjectsCode
Copy link
Owner

Can you attach a note where this issue occurs to this issue as a code block?

@Akunus
Copy link
Author

Akunus commented Sep 11, 2024

This is an example, where the first input in the note will not work, while the second will work.

<h2>Bug</h2>
Question `INPUT[number:anwser]`

<h2>Works correctly</h2>

Question `INPUT[number:anwser]`

@mProjectsCode
Copy link
Owner

image
This seems to be an Obsidian limitation, note that other markdown features such as bold also don't render.

@mProjectsCode mProjectsCode closed this as not planned Won't fix, can't repro, duplicate, stale Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Undesired behavior caused by this plugin
Projects
None yet
Development

No branches or pull requests

2 participants