435 Commits

Author SHA1 Message Date
Tom Moor
117c4f5009 feat: Comment resolving (#7115) 2024-07-02 03:55:16 -07:00
Tom Moor
3f4027c6fa fix: Event listener memory leak 2024-07-01 10:42:15 -04:00
Apoorv Mishra
63ddc31710 Disallow empty comments and comments with only whitespaces (#7156)
* fix: disallow empty comments

* fix: avoid full traversal to validate comment

* fix: text

* fix:review

* fix: review
2024-06-30 11:38:43 +05:30
Hemachandar
05c1bee412 feat: allow user to set TOC display preference (#6943)
Co-authored-by: Tom Moor <tom.moor@gmail.com>
2024-06-16 09:21:08 -07:00
Tom Moor
9415a35795 chore: Add eslint rule to prevent app imports in shared (see: bf130f9915) 2024-06-14 22:22:55 -04:00
Tom Moor
bf130f9915 fix: EventBoundary import 2024-06-14 14:55:02 -04:00
Tom Moor
dfe36fcbf5 fix: Add a plugin to fix the last column in a table (#7036) 2024-06-14 05:53:32 -07:00
Tom Moor
e1c44ba1a8 fix: Exiting lightbox unfocuses image causing rerender part-way through transition, closes #7034 2024-06-13 20:57:50 -04:00
Tom Moor
8a4555f565 Allow using / anywhere on a line or table (#7026) 2024-06-12 05:50:54 -07:00
Tom Moor
be0a0f4e40 fix: Unexpected behavior when changing color of existing highlight 2024-06-09 21:19:37 -04:00
Tom Moor
f439293a7b fix: Image placeholders incorrectly sized for uploading retina images 2024-06-09 14:28:54 -04:00
Tom Moor
ed59b3e350 Add more highlighter color choices (#7012)
* Add more highlighter color choices, closes #7011

* docs
2024-06-09 10:54:31 -07:00
Tom Moor
808415b906 fix: Indent/outdent list controls, closes #6974 2024-06-08 21:51:52 -04:00
Tom Moor
c02f7c9c85 Remove gist.github.com, gitlab.com from default CSP (#7008) 2024-06-08 07:54:55 -07:00
Tom Moor
70bc8f1a5a fix: Shift-Enter in code block in table should behave correctly
closes #6994
2024-06-04 22:20:37 -04:00
Tom Moor
7a32271992 fix: Allow delete table row and column with mod+backspace 2024-06-04 21:59:22 -04:00
Tom Moor
e7602f8f1b fix: caption positioning 2024-06-03 21:42:50 -04:00
Tom Moor
cfc7ae6d04 feat: Add support for Figam boards, add support for pasting Figma embed code
closes #6986
2024-06-03 20:40:20 -04:00
Tom Moor
23606dad1d Move image zooming back to unvendorized lib (#6980)
* Move image zooming back to unvendorized lib

* refactor

* perf: Avoid mounting zoom dialog until interacted

* Add captions to lightbox

* lightbox
2024-06-03 17:26:25 -07:00
Tom Moor
899a15afaf fix: Shift+click on table grip does not select rows/columns in between 2024-06-02 15:39:37 -04:00
Tom Moor
938fd6ed2d feat: Enable block insertion in table cells from formatting menu
fix: Remove gutter controls from headers not at root
2024-06-01 12:21:33 -04:00
Tom Moor
f2e9c0ab23 perf: Remove useComponentSize from image and video node render 2024-06-01 11:13:03 -04:00
Tom Moor
da19054555 Table improvements (#6958)
* Header toggling, resizable columns

* Allow all blocks in table cells, disable column resizing in read-only

* Fixed dynamic scroll shadows

* Refactor, scroll styling

* fix scrolling, tweaks

* fix: Table layout lost on sort

* fix: Caching of grip decorators

* refactor

* stash

* fix first render shadows

* stash

* First add column grip, styles

* Just add column/row click handlers left

* fix: isTableSelected for single cell table

* Refactor mousedown handlers

* fix: 'Add row before' command missing on first row

* fix overflow on rhs

* fix: Error clicking column grip when menu is open

* Hide table controls when printing

* Restore table header background

* fix: Header behavior when adding columns and rows at the edges

* Tweak header styling

* fix: Serialize and parsing of column attributes when copy/pasting
fix: Column width is lost when changing column alignment
2024-05-31 14:52:39 -07:00
Tom Moor
a05beab3b6 Revert "Bump paragraph spacing"
This reverts commit 1c4817486b.
2024-05-30 18:28:15 -04:00
Tom Moor
1c4817486b Bump paragraph spacing 2024-05-29 21:29:10 -04:00
Tom Moor
f58f309321 Simplify layout of full-width images 2024-05-27 14:12:38 -04:00
Pranav Joglekar
20642f4225 feat preview: add support for youtube clips (#6942) 2024-05-27 05:37:39 -07:00
RenderCoder
88eae87404 Fix: Adapt to Figma's New Link Structure for Embedding Design Previews (#6946)
Co-authored-by: RenderCoder <rendercoder@sot.app>
2024-05-26 08:05:08 -07:00
Tom Moor
d51267b8bc JSON to client (#5553) 2024-05-24 05:29:00 -07:00
Tom Moor
cd4f3f9ff2 Use inline content disposition for common images and PDFs (#6924)
* Use inline content disposition for common images and PDFs

* Add double-click on widgets to download
2024-05-18 09:17:04 -07:00
Tom Moor
aa755ffc34 fix: Images in lists on shared documents sometimes render as code blocks 2024-05-18 10:54:36 -04:00
Tom Moor
6cc0cde124 fix: Allow mixed ltr/rtl content in a document, closes #6836 2024-05-14 20:45:47 -04:00
Tom Moor
8120407bf3 Remove forced italic from block quotes 2024-05-12 22:12:24 -06:00
Tom Moor
9b12d486f5 fix: Disable smart text replacements in code mark (#6839) 2024-04-23 19:30:52 -07:00
Tom Moor
3f8990520b fix: Squashed image in email diff #6612 2024-04-23 21:47:52 -04:00
Tom Moor
c8a0343cf5 fix: Margin jumping on empty paragraph below heading 2024-04-23 19:48:09 -04:00
Tom Moor
0c997bfd8c Change behavior of Enter in tables, closes #6281 2024-04-21 20:13:48 -04:00
Tom Moor
e2bc4c277b Remove restriction on floated images being max 33% of document width
closes OLN-354
2024-04-21 11:14:18 -04:00
Tom Moor
dffb6604dd fix: Mermaid diagram styling in exported HTML/PDF
closes #6726
2024-04-16 22:21:28 -04:00
Tom Moor
9e8df4dd2d fix: Display @ infront of mentions 2024-04-13 22:30:29 -04:00
Tom Moor
26a1f57649 Remove use of useEventListener in shared directory 2024-03-24 21:16:19 -04:00
Tom Moor
8b6a760e02 Improve GitLab embed 2024-03-23 22:30:08 -04:00
Apoorv Mishra
450d0d9355 Github integration (#6414)
Co-authored-by: Tom Moor <tom.moor@gmail.com>
2024-03-23 07:09:28 -07:00
Tom Moor
be211dbc5c fix: Table detection in isMarkdown, closes #6687 2024-03-18 22:54:27 -04:00
Tom Moor
8bd0aa43bc fix: Minor fix to table scroll styles 2024-03-16 15:19:51 -04:00
Tom Moor
2a30783e72 fix: no-op table sort should not modify document 2024-03-16 12:26:27 -04:00
Tom Moor
1a386c9900 feat: Add table sorting controls (#6678)
* wip

* refactor

* fix: Missing shadow styling
2024-03-14 19:21:56 -07:00
Tom Moor
04c4d787ff Editor styling improvements 2024-03-14 22:21:01 -04:00
Tom Moor
9f55645655 fix: Backtick shortcut not applied correctly with composition (#6659)
* fix: Backtick shortcut not applied correctly with composition

* docs
2024-03-10 07:59:15 -07:00
Tom Moor
fe4c2fb7d6 chore: Add eslint rule for no-shadow (#6658)
* chore: Add eslint rule for no-shadow

* fix
2024-03-09 13:04:27 -08:00