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

Feature Request: Option to set file/image template #133

Open
owzim opened this issue Feb 3, 2022 · 4 comments
Open

Feature Request: Option to set file/image template #133

owzim opened this issue Feb 3, 2022 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@owzim
Copy link

owzim commented Feb 3, 2022

Right now when uploading a file or image, it will get uploaded without accompanying template file.

It would be very useful to be able to set the template in field options.

@fabianmichael fabianmichael self-assigned this Feb 3, 2022
@fabianmichael fabianmichael added the enhancement New feature or request label Feb 3, 2022
@fabianmichael
Copy link
Owner

This should really work like in the normal textarea field. I’ll have a look soon.

@tobimori
Copy link
Contributor

tobimori commented Feb 9, 2024

This works for me in the latest version:

files: page('page://images').images
uploads:
  template: image
  parent: page('page://images')

@fabianmichael
Copy link
Owner

@tobimori Does it mean, that this is basically resolved? Maybe this works, because the markdown field inherits from the textarea field after all …

@tobimori
Copy link
Contributor

tobimori commented Feb 9, 2024

nvm, this results in the following issue: #181

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants