react-client icon indicating copy to clipboard operation
react-client copied to clipboard

Add buttons to insert columns in tables

Open xgaia opened this issue 3 years ago • 3 comments

Is your feature request related to a problem? Please describe.

In hackmd, there are buttons to easily add columns, and keyboard shortcuts to align cells. It would be great to have these buttons in hedgedoc.

https://hackmd.io/c/tutorials/%2Fs%2Fhow-to-create-table

Describe the solution you'd like

add buttons to add columns and cell alignment when tab is pressed

Describe alternatives you've considered

another solution could be a button to define a number of line and col at the creation, like with LibreOffice.

image

Additional context

No response

xgaia avatar Sep 28 '21 15:09 xgaia

Your proposed alternative with the grid is already included in HedgeDoc 2. The buttons for adding/removing could also be added.

mrdrogdrog avatar Sep 28 '21 19:09 mrdrogdrog

You can have a look at this working at https://ui-test.hedgedoc.org (This instance does not hold any information. It's just to test the UI)

DerMolly avatar Sep 30 '21 07:09 DerMolly

Thanks, I will try the front v2 on my instance :+1:

xgaia avatar Sep 30 '21 07:09 xgaia