Small fixes for #53 and #319: styled the unicode icon for the vincula so the lines do not appear broken when over consecutive characters; reduced the margin and padding of the text-object-preview elements so the spacing is similar to the editor.
Footnotes (#392 )
these can be added with the comment button in the editor
it will add an indicator in the main text section and a note in the notes section at the bottom of the editor
you should be able to see a note's contents by hovering the indicator (if these are likely to be very long this can be updated so it's truncated)
if you want to edit the contents of the note you can click the note in the notes section at the bottom
you can delete the note (and it's corresponding indicator) by removing the contents of the note or backspacing the indicator
the notes and indicators should update their numbers when adding or removing new ones
it should be possible to delete more than one note at once (by highlighting and deleting a section of text containing more than one indicator)
there are footnote hints in a tooltip at the bottom of the editor
Tables (#71)
I have implemented tables based on the discussion in the issue, as opposed to columns
QuillJS 2.0 (not yet released) has a table module which I have adapted and stripped back for our use case
functions available: adding a 3x2 table as base (this can be updated if there's a another size that would be preferred), adding rows (always to the bottom), adding columns (always to the right), removing columns and rows selectively
due to how the table is added to the editor, be careful when editing contents! I've made it so that you double click on a cell to edit its contents because if you backspace, it will delete the table (no bueno)
in the editor, the grid lines are visible but not on the preview (this can be changed if preferred)
the cells will resize based on content
you should always be able to add a new column or row, even if there's content or your cursor isn't on the table - in the case of the latter it will perform the edit on the closest table
there are hints at the bottom of the editor, in a tooltip
This addresses issues #392, #53, #319 & #71.
Small fixes for #53 and #319: styled the unicode icon for the vincula so the lines do not appear broken when over consecutive characters; reduced the margin and padding of the
text-object-preview
elements so the spacing is similar to the editor.Footnotes (#392 )
Tables (#71)