Commit Graph

234 Commits

Author SHA1 Message Date
dependabot[bot]
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
ea885133ac Notifications interface (#5354)
Co-authored-by: Apoorv Mishra <apoorvmishra101092@gmail.com>
2023-05-20 07:47:32 -07:00
Tom Moor
0ce9931910 fix: Line numbers overlay code when block is horizontally scrollable 2023-05-11 21:47:26 -04:00
Tom Moor
693dfecab7 fix: Reorder code block language choice 2023-05-11 21:35:51 -04:00
Conner
44ed374636 feat: add syntax highlighting for jsx and tsx (#5330) 2023-05-10 17:37:31 -07:00
Tom Moor
06be19090c feat: Add support for parsing Confluence notices 2023-05-08 16:09:49 -04:00
Tom Moor
a0df79ea5a feat: Allow embeds to be used inside tables (#5315) 2023-05-07 18:05:54 -07:00
Tom Moor
001a083e15 fix: Pasting single Markdown paragraph adds newlines above and below
closes #5264
2023-04-30 20:28:42 -04:00
Tom Moor
df1c360b2a fix: Line number alignment in code blocks nested in lists
closes #5217
2023-04-30 16:47:40 -04:00
Tom Moor
ef075c0fa2 fix: Not possible to place caret within existing comment
closes #5268
2023-04-27 20:21:23 -04:00
Tom Moor
106b335602 fix: Error when pasting embeddable content into comments 2023-04-25 21:56:23 -04:00
Tom Moor
b0da3b7cab fix: Throwing event as error 2023-04-24 23:35:46 -04:00
Tom Moor
71b2cd1c46 Add success notice style (#5242
* Add success notice style

* Move quote styling closer to notices
Improving parsing of notices when pasting from other tools
2023-04-23 10:34:40 -07:00
Tom Moor
f79cba9b55 fix: Newlines added around pasted text content, closes #5236 2023-04-22 10:13:43 -04:00
Tom Moor
e2c5fda610 fix: Do not copy edit path from headers
chore: Rename url -> path in routeHelpers
closes #5229
2023-04-22 10:00:09 -04:00
Tom Moor
961afe7dc5 fix: Full-width images have margin on side since #5197 2023-04-18 20:11:11 -04:00
Tom Moor
e4fb151a71 fix: NaN invalid CSS width issue 2023-04-18 19:49:56 -04:00
Tom Moor
1642eb610d fix: Double recursive loops can cause server lockup on deeply nested docs (#5222) 2023-04-18 16:38:35 -07:00
Tom Moor
94b4496ae8 fix: Positioning of 'Open' button in embed frames 2023-04-17 22:27:14 -04:00
Tom Moor
746f4e4150 fix: Allow strikethrough of inline code (#5207
* fix: Allow strikethrough of inline code

* Remove unneccessary change
2023-04-17 19:26:36 -07:00
Tom Moor
f2b3524d87 fix: Ctrl-a/e in code fences 2023-04-16 09:49:19 -04:00
Tom Moor
aa04a5e6f4 fix: Avoid label rendering bug in Mermaid, closes #5196 2023-04-15 10:25:22 -04:00
Tom Moor
2b38368fcd Add list indent/outdent controls on mobile (#5205) 2023-04-15 05:44:23 -07:00
Tom Moor
169a99f21e Adds a 60px area to the left and right of editable area (#5197
* Adds a 60px area to the left and right of editable area that allows clicking to focus paragraphs

* tsc
2023-04-13 19:24:33 -07:00
Tom Moor
d6b51f3053 fix: Tweak mention style in comments to be more visible 2023-04-11 22:41:05 -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
60dbad765a chore: Cleanup editor menu handlers (#5174
* wip

* wip

* refactor
2023-04-10 15:50:21 -07: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
Tom Moor
aab3a49f2c chore: Bump outline-icons (#5170
* Bump outline-icons to default use currentColor

* wip
2023-04-08 08:16:05 -07:00
Tom Moor
dcb15bae13 Revert "Upgrade MermaidJS (#5043" (#5167
This reverts commit c97110e72b.
2023-04-08 06:40:00 -07:00
Tom Moor
c97110e72b Upgrade MermaidJS (#5043
* Upgrade MermaidJS

* fix: Flashing of diagrams while editing another

* Upgrade vite

* type imports
2023-04-08 06:20:42 -07:00
Tom Moor
db73879918 Assorted cleanup, minor bug fixes, styling fixes, eslint rules (#5165
* fix: Logic error in toast
fix: Remove useless component

* fix: Logout not clearing all stores

* Add icons to notification settings

* Add eslint rule to enforce spaced comment

* Add eslint rule for arrow-body-style

* Add eslint rule to enforce self-closing components

* Add menu to api key settings
Fix: Deleting webhook subscription does not remove from UI
Split webhook subscriptions into active and inactive
Styling updates
2023-04-08 05:25:20 -07:00
Tom Moor
422bdc32d9 Add 's' method to access theme props (#5163) 2023-04-07 19:43:34 -07:00
Tom Moor
c202198d61 fix: Wide selection of comment toolbar fixes (#5160
* fix: Margin on floating toolbar
fix: Flash of toolbar on wide screens

* fix: Nesting of comment marks

* fix: Post button not visible when there is a draft comment, makes it look like the comment is saved
fix: Styling of link editor results now matches other menus
fix: Allow small link editor in comments sidebar

* fix: Cannot use arrow keys to navigate suggested links
Added animation to link suggestions
Added mixin for text ellipsis

* fix: Link input appears non-rounded when no creation option

* Accidental removal
2023-04-07 15:52:57 -07:00
Tom Moor
9a7ecd7403 fix: Passing of start parameter to YouTube embed 2023-04-05 12:48:48 -04:00
Tom Moor
c71cbf39f5 Open downloads in the same tab 2023-04-04 21:38:30 -04:00
Tom Moor
c6068d0fee fix: Styling inconsistency on anchors in headings, closes #5126 2023-04-02 14:50:51 -04:00
Tom Moor
1be1371171 Add image resizing to history stack (allow undo)
Remove placeholder SVG when main image is loaded
2023-04-02 09:19:09 -04:00
Tom Moor
ec3ebb91c0 Adds placeholder during image loading (#5120
* Adds placeholder during image loading

* Small refactor
2023-03-29 20:12:55 -07:00
Tom Moor
ace18ce336 fix: Soft breaks after text with comment mark does not work.
Note: This CSS was added waaaay back here: 2d5d5d3e4e
Since then the equivalent rule has moved to be more specific and this was vestigial.

closes #5119
2023-03-29 18:42:01 -04:00
Tom Moor
fcc89be622 fix: File uploads can remove document closeby document content, closes #5097 2023-03-28 20:47:34 -04:00
Tom Moor
6040015b8d fix: Regression in 05a8e45f01 overrides image upload behavior 2023-03-28 20:26:19 -04:00
Aditya Sharma
05a8e45f01 Feat: zoom selected image on pressing space key (#5059) 2023-03-28 05:33:22 -07:00
Tom Moor
ce294bd1e7 fix: KaTeX parsing on shared links 2023-03-27 21:02:24 -04:00
Tom Moor
e182dafeac fix: Improve readability of inline code in dark theme
closes #5096
2023-03-27 20:03:42 -04:00
Tom Moor
45a603f76f fix: Avoid print breaking across image 2023-03-23 23:12:09 -04:00
Tom Moor
d11e17c68b fix: Remove mathml rendering, closes #5080 2023-03-22 22:23:12 -04:00
Tom Moor
114019c4d8 fix: Comment thread not focused correctly when clicking on mark, closes #5081 2023-03-22 21:49:52 -04:00
Tom Moor
827c912887 fix: Impossible to type more than one dollar symbol in a paragraph without triggering LaTeX (#5061) 2023-03-19 11:37:17 -07:00
Jonas Chevalier
17f6d68707 feat: add support for Nix code highlight (#4781
Nix is a build system and package manager and used in one of the top-10
most active repos on GitHub.
2023-03-17 12:58:08 -07:00