Commit Graph

119 Commits

Author SHA1 Message Date
Tom Moor
bf130f9915 fix: EventBoundary import 2024-06-14 14:55:02 -04: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
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
c02f7c9c85 Remove gist.github.com, gitlab.com from default CSP (#7008) 2024-06-08 07:54:55 -07:00
Tom Moor
e7602f8f1b fix: caption positioning 2024-06-03 21:42:50 -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
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
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
8120407bf3 Remove forced italic from block quotes 2024-05-12 22:12:24 -06: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
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
8b6a760e02 Improve GitLab embed 2024-03-23 22:30:08 -04:00
Tom Moor
8bd0aa43bc fix: Minor fix to table scroll styles 2024-03-16 15:19:51 -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
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
Tom Moor
561606f6f4 fix: Hide drag handles, empty captions, and selected outlines when printing (#6550) 2024-02-16 09:33:50 -08:00
Tom Moor
fc2ff691f7 feat: Add support SmartSuite embeds 2024-02-07 22:37:23 -05:00
Tom Moor
717c9b5d64 tsc 2024-01-30 19:48:18 -05:00
Tom Moor
4ddb5c3eed feat: Add option to replace existing file attachment in editor 2024-01-21 11:52:20 -05:00
Tom Moor
8df77fe478 fix: Incorret collapsing of mermaid diagram margins, closes #6373 2024-01-18 21:39:37 -05:00
Tom Moor
47c13c9916 Show comment context in thread 2024-01-04 22:30:22 -05:00
Tom Moor
00ecf84dbd fix: Finicky selection around headings in FF 2023-12-16 12:56:21 -05:00
Tom Moor
1d0d4e4048 fix: Disabled embeds regression 2023-12-15 09:34:59 -05:00
Tom Moor
bd65a4f151 fix: Enable embeds within HTML and PDF exports (#6290) 2023-12-14 18:52:51 -08:00
Tom Moor
ac75521c6c fix: Firefox swallows mouse up when dragging to resize video 2023-12-13 19:40:51 -05:00
Tom Moor
25be2fee40 fix: Display of videos in revision history
closes #6176
2023-12-01 23:15:34 -05:00
Tom Moor
72c485e0c8 fix: HTML exports have extra empty page, closes #6205 2023-11-23 09:50:58 -05:00
Tom Moor
8b68ee404a fix: Render Mermaid diagrams in HTML export, towards #6205 2023-11-23 09:06:07 -05:00
Tom Moor
846fb122cd fix: Misalignment of code block line numbers when font-size is increased in Edge
closes #5612
2023-10-28 13:40:47 -04:00
Tom Moor
e8646acd21 fix: Mermaid diagrams are not hidden under a collapsed heading. closes #5979 2023-10-11 22:27:38 -04:00
Tom Moor
0d319d50b8 Shakes fist at autocomplete 2023-10-11 09:24:37 -04:00
Tom Moor
bf53ac4f4b fix: Ensure video src passed to player is sanitized 2023-10-10 19:22:05 -04:00
Tom Moor
2f3247b500 fix: Cannot read properties of undefined (reading 'width') 2023-10-07 20:59:18 -04:00
Tom Moor
eb71a8f933 fix: Various compounding memory leaks in editor (#5950) 2023-10-05 17:01:27 -07:00
Tom Moor
1359f44814 fix: Links to attachments do not work in emailed notifications (#5935) 2023-10-04 18:25:07 -07:00
Tom Moor
5397907599 chore: Refactor upload placeholder (#5898) 2023-09-28 20:13:40 -07:00
Tom Moor
f4fd9dae5f feat: Native video display (#5866) 2023-09-28 17:28:09 -07:00
Tom Moor
b80ee89588 Correctly resize full width images when table of contents is opened/closed (#5826)
* stash

* restore

* Self review
2023-09-12 18:33:25 -07:00
Tom Moor
4e53029377 Use "Inter" as default typeface (#5741)
* Inter

* tweaks

* tweaks
2023-08-31 15:07:45 -07:00
Tom Moor
da9a8af543 fix: Prevent rendering of undefined SVG placeholder 2023-08-23 21:35:05 -04:00
Tom Moor
3366fb46cd fix: Copy Mermaid toolbar incorrectly positioned in read-only
closes #5714
2023-08-21 22:20:42 -04:00