shabegom / buttons

Buttons in Obsidian
The Unlicense
455 stars 47 forks source link

Simple append text just disappears #153

Closed holroy closed 5 months ago

holroy commented 1 year ago

The following simple button make the text appear for a split second before removed again:

```button
name Javascript
type append text
action Javascript-text
templater true

^button-js



I'm using Obsidian 1.0.3 (, Templater 1.16.0) , and Buttons 0.4.19.  If I remove the `templater true` line, it adds the text, but I would like to actually use templater stuff in the added text. 

Have I done something strange, or is this a bug?
xeor commented 1 year ago

This happens for me as well when using templater=true

holroy commented 1 year ago

And now that workaround doesn't work either. It replaces all the text in my note with the output of the template.

johnpearman commented 1 year ago

having trouble with this also

johnpearman commented 1 year ago

type append template instead of type append text works i think