Tom Moor
0865052bb8
fix: Missing replacements ( #10350 )
2025-10-12 12:48:51 -04:00
Apoorv Mishra
d8ef7b2892
Include mermaid SVGs in Lightbox ( #10146 )
...
* fix: include mermaid svgs in lightbox
* Fixes:
1. Focus isn't restored back to mermaid code block when Lightbox is closed
2. Read-only mode requires extra click on to both open and close Lightbox for mermaid SVGs
* fix: `zoom-in` cursor for SVGs
* fix: make SVGs downloadable
* fix: tsc
* fix: graphite
* fix: zoom-in should span the wrapper
* fix: graphite
* fix: name
* fix: no need to re-render mermaid svg within lightbox
fix: rely on `code-block` as the `svg` is updated upon doc change
* fix: graphite
* fix: lightbox crash when mermaid block is deleted
* fix: render mermaid at pos `0`
* fix: graphite
* fix: refactor to simplify Lightbox
* fix: graphite
2025-10-04 08:16:02 -04:00
Tom Moor
28aebc9fbf
feat: Upload remote-hosted images on paste ( #8301 )
...
* First pass
* fix
* tidy, tidy
* Determine dimensions
* docs
* test getFileNameFromUrl
* PR feedback
* tsc
2025-01-30 17:24:07 -08:00
Tom Moor
d73b4c55bf
Mermaid v11 ( #7964 )
...
* mermaid-v11
* fix: Various rendering incompatibilities
2024-11-16 08:10:55 -08:00
Tom Moor
7bedfab301
fix: Mermaid diagrams in collapsed headings do not render, closes #7960
2024-11-15 23:43:05 -05:00
Tom Moor
3ddffdda17
fix: Race condition rendering Mermaid diagrams in dark mode
2024-10-08 20:43:48 -04:00
Tom Moor
0a2c066253
fix: Improve display of Mermaid pie charts
2024-09-28 12:31:46 -04:00
Davy
20d25a086a
Render theme of Mermaid diagram properly ( #6307 )
2023-12-21 16:30:52 -08:00
Davy
d09a4f7d20
Bring Mermaid diagram priority higher than heading's anchor ( #6299 )
2023-12-18 18:57:09 -08:00
Tom Moor
5397907599
chore: Refactor upload placeholder ( #5898 )
2023-09-28 20:13:40 -07:00
Tom Moor
606a4e0772
Add small cache to mermaid diagrams, follow on to #5852
2023-09-25 20:41:18 -04:00
antran22 and Tom Moor
1639c657c8
feat: update mermaid rendering flow ( #5852 )
...
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2023-09-25 14:03:25 -07:00
Tom Moor
8833e578f1
fix: JS error hitting up or down with entire document selection
...
closes #5863
2023-09-21 21:16:59 -04:00
Tom Moor
091ef340f4
fix: Mermaid syntax error diagram sometimes displayed at side of document
...
ref https://github.com/outline/outline/discussions/5834
2023-09-16 19:33:28 -04:00
Tom Moor
30e63e022c
fix: Improve empty state for mermaid diagrams
2023-07-29 21:12:55 -04:00
Tom Moor
2427f4747a
Rebuilding code block menus ( #5569 )
2023-07-17 18:25:22 -07:00
Tom Moor
89d5527d39
Handle promise linting ( #5488 )
2023-06-28 17:18:18 -07:00
Tom Moor and Apoorv Mishra
d5341a486c
chore: Upgrade all of prosemirror ( #5366 )
...
Co-authored-by: Apoorv Mishra <apoorvmishra101092@gmail.com >
2023-05-24 19:24:05 -07:00
dependabot[bot] and Tom Moor
fbd16d4b9a
chore(deps-dev): bump prettier from 2.1.2 to 2.8.8 ( #5372 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2023-05-22 19:14:56 -07:00
Tom Moor
aa04a5e6f4
fix: Avoid label rendering bug in Mermaid, closes #5196
2023-04-15 10:25:22 -04:00
Tom Moor
49d903d6d4
chore: Remove console.log left in code and added eslint rule to prevent it happening again
2023-04-11 22:15:52 -04:00
Tom Moor
75aea90972
chore: Editor 'plugin' -> 'extension'
...
They've always been called extensions, not sure why the folder was plugins. Part of ongoing spring cleaning
2023-04-09 17:27:09 -04:00