sethyuan / logseq-plugin-another-embed

This plugin provides 2 extra ways to embed blocks/pages.
MIT License
23 stars 1 forks source link

Table column drag, arrows #13

Closed DutchPete closed 1 year ago

DutchPete commented 1 year ago

Table columns: drag to change width does not work for me.

I have enabled show arrows when hovered: which arrows are meant?

sethyuan commented 1 year ago

Watch the last demo on the README, it demonstrates how to use this feature.

DutchPete commented 1 year ago

The last demo is about the tables. I still could not get it to work, until I found by trial and error that it only works for a basic table. For example, if there is this above the table:

logseq.table.version:: 2
logseq.table.borders:: true
logseq.table.hover:: cell
logseq.color:: plum
logseq.table.stripes:: true

it does not work, even though these are built-in Logseq properties.

Also the table does not work if there are inline HTML elements, such as e.g. <span style="color:limegreen">text</span>.

DutchPete commented 1 year ago

Regarding the arrows, I still don't see which arrows are meant.

sethyuan commented 1 year ago

Yeah, v2 tables are not supported. I mentioned it in Discord but forgot to write it down in the README.

Inline HTML should be fine, I ran a basic test with the HTML you gave with a markdown table and it worked fine. What does your table look like?

The hoverArrow setting is a setting for hierarchical favorites, it's unrelated to tables. You can watch the 2nd demo for a grasp of the hierarchical favortes concept.

DutchPete commented 1 year ago

Yep, you are right, inline HTML does work. It was just that those v2 table properties interfered that made me think inline HTML does not work. So, great 👍 that inline HTML does work because I use that.

Will v2 properties be supported some day?

OK, I get the hover arrows now. Thank you.

Do you accept bitcoin?

sethyuan commented 1 year ago

Bitcoins are illegal where I live. 😭 I'm using Buy me a Coffee for now, but recently I'm considering to move to Ko-Fi, heard it's easier to use.