RoamJS / autotag

11 stars 4 forks source link

[Bug] Can't Turn off Alias with Tags #21

Open msf999 opened 1 year ago

msf999 commented 1 year ago

Hi,

If I have a page with an alias and Alias with Tags is turned on then when I write alias I get: [alias]([[page]]), which is expected.

However, when Alias with Tags is turned off I get [alias](((5vLdad6b1))), where ((5vLdad6b1)) is a block that doesn't exist.

My expectation (correct me if I am wrong) is that when Alias with Tags is turned off then when I write [[alias]] it should turn into [[page]] once I leave the block.

Thank you.

mdroidian commented 1 year ago

The first two are the correct expected behavior. On = [alias]([[page]]) Off = [alias](((page-uid)))

In my test, the page-uid is correct. But it seems [alias](((page-uid))) is not supported in Roam. @dvargas92495 I'm assuming this was previously supported?

image image image

dvargas92495 commented 1 year ago

It was some time ago - I think we should probably remove that logic then and always default to "Use Tags" behavior, removing the option