ituob / itu-ob-editor

Cross-platform desktop application for collaborative editing of ITU Operational Bulletin data
6 stars 3 forks source link

Table manipulation doesn’t work #44

Closed strogonoff closed 5 years ago

strogonoff commented 5 years ago

It relies on window.prompt, and we need to get rid of that.

Corresponding fork of react-prosemirror package is here: https://github.com/riboseinc/react-prosemirror

strogonoff commented 5 years ago

Current approach:

  1. When “Insert Table” is clicked, create a table with one column and one row.
  2. Have a custom Floater shown only if selection is within a table, and show “Add Column” & “Add Row” buttons in the floater.
strogonoff commented 5 years ago

Updated approach: Just implement a way to hide and show menu bar groups depending on current selection. No floater.

strogonoff commented 5 years ago

Implemented as of https://github.com/ituob/itu-ob-editor/releases/tag/v0.0.20