penge / my-notes

Simple and fast note-taking in Chrome with Google Drive support.
https://chrome.google.com/webstore/detail/my-notes/lkeeogfaiembcblonahillacpaabmiop
MIT License
242 stars 34 forks source link

Unable to copy a table and align it to centre or right #332

Closed bhupesh-sf closed 10 months ago

bhupesh-sf commented 2 years ago

I was just trying to do some stuff with tables and found a few issues.

When trying to copy a table to some other place within the note, I cannot. Wanted to align a table in the center again I cannot. The movement of the cursor with arrow keys within the table is not very good. It goes to the edge of the corners of the columns and then go inside the column.

Another good thing would be to have a background option for rows..

penge commented 2 years ago

Let me look at it. Copying a table is possible, but not comfortable at all - you would have to select table with one line above and below it, to copy and paste.

Seems like there's more to be done around tables - copy, align, etc. How about we fix copy and align first. Any ideas how it should be done?

bhupesh-sf commented 2 years ago

I believe if we can add context menu to tables that will be perfect, otherwise have to be checked with other applications out there to check the best way out...

penge commented 2 years ago

Sounds great. Let's add context menu then.

penge commented 11 months ago

Hi @bhupesh-sf

Here's a preview of the upcoming table alignment:

https://github.com/penge/my-notes/assets/907255/6db17758-11b8-44fd-a6a3-fe9af3b2cc30

How it works:

  1. Hold Ctrl (or ) and right-click anywhere inside the table.
  2. Use context menu to align the table (Left, Center, Right).