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
8a4555f565
Allow using / anywhere on a line or table ( #7026 )
2024-06-12 05:50:54 -07:00
Tom Moor
808415b906
fix: Indent/outdent list controls, closes #6974
2024-06-08 21:51:52 -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
df6d8c12cc
Refactor Editor components to be injected by associated extension ( #6093 )
2023-10-31 18:55:55 -07:00
Tom Moor
d5341a486c
chore: Upgrade all of prosemirror ( #5366 )
...
Co-authored-by: Apoorv Mishra <apoorvmishra101092@gmail.com >
2023-05-24 19:24:05 -07: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
d11e17c68b
fix: Remove mathml rendering, closes #5080
2023-03-22 22:23:12 -04: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
Tom Moor
6a29104d09
fix: Mermaid diagrams flash when editing and multiple in document
2023-03-15 22:51:40 -04:00
Tom Moor
372c46e2ad
Escape to defocus editor
2023-02-27 23:27:17 -05:00
Tom Moor
b813f20f8f
fix: Tab no longer works to nest lists (regression from comment merge)
2023-02-25 22:48:31 -05:00
Tom Moor
f0484c8417
fix: Restore newlines in code line numbers as safety measure
2023-02-25 17:51:31 -05:00
Tom Moor
0e622288ff
fix: Line-numbering in code blocks runs horizontal on Linux
...
closes #4901
2023-02-20 09:08:07 -05:00
Tom Moor
4805259823
fix: Cursor position changes on new token with line numbers enabled ( #4896 )
...
Move line numbers to psuedo element
2023-02-18 10:56:26 -08:00
Tom Moor
0207786eec
Update Mermaid.js ( #4883 )
...
* Update Mermaid.js
* tsc
* Allow using more CI resources
* Downgrade
2023-02-15 20:46:32 -08:00
Hans Pagel
e754f89e5c
Replace Webpack with Vite ( #4765 )
...
Co-authored-by: Tom Moor <tom@getoutline.com >
Co-authored-by: Vio <vio@beanon.com >
2023-02-15 19:39:46 -08:00
vgwidt
9302beb630
fix: Visual Basic syntax higlighting ( #4769 ) ( #4770 )
2023-02-11 09:31:37 -08:00
Tom Moor
cc14c212b6
fix: Unable to access localStorage in document embedded in iframe with third party cookies blocked ( #4777 )
...
* fix: Pasting from Microsoft Office pastes image. Closes #3058
* fix: Use Storage wrapper implementation for all editor calls to localStorage
closes #4776
2023-01-26 04:48:56 -08:00
Tom Moor
d261aa4d32
fix: Temporary fix for Mermaid Gantt charts – hardcode width
...
closes #4594
2022-12-22 06:50:57 -05:00
Tom Moor
0fa583e492
fix: Line numbers go missing when editing multiple blocks
...
closes #4440
2022-12-18 22:19:37 -05:00
Tom Moor
80780eedda
fix: Mermaid diagrams do not respect dark mode ( #4564 )
...
* wip
* Move event binding
2022-12-11 11:33:17 -08:00
Aditya Sharma
8513200900
fix: Don't embed pasted links in list ( #4535 )
...
closes https://github.com/outline/outline/issues/4154
2022-12-04 11:41:03 -08:00
Tom Moor
fa8685d241
Add support for LaTeX inline and block expressions. ( #4446 )
...
* Add support for LaTeX inline and block expressions. (#4364 )
Co-authored-by: Tom Moor <tom@getoutline.com >
* tsc
* Show heading markers when LaTeX block is being edited
* Tab to space, name katex chunk
* Fork htmldiff, add support for math nodes
Co-authored-by: luisbc92 <luiscarlos.banuelos@gmail.com >
2022-11-27 06:27:56 -08:00
Tom Moor
a8936039e5
Improved paste handling ( #4474 )
...
* Improved paste handling
* Remove file
2022-11-24 06:50:31 -08:00
dependabot[bot]
51b3371bf5
chore(deps): bump mermaid and @types/mermaid ( #4257 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-10-26 19:07:52 -04:00
Duale Siad
ca255d9210
Added syntax highlighting for various languages ( #4341 )
...
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-10-26 16:01:12 -07:00
Tom Moor
87761e9bf2
feat: Code blocks can now optionally display line numbers ( #4324 )
...
* feat: Code blocks can now optionally display line numbers as a user preference
* Touch more breathing room
2022-10-24 06:44:46 -07:00
Tom Moor
708f9a3fd6
feat: Add additional 'smart text' replacements
2022-10-23 17:43:17 -04:00
Tom Moor
258225149a
chore: Dependency bumps ( #4295 )
...
* chore: Remove dupe dep of body-scroll-lock
* chore: Update dd-trace
* Sentry
* typescript-eslint (fixes warning)
2022-10-15 10:02:55 -07:00
Tom Moor
da62307b43
fix: Embeds should not trigger when pasting urls in code, closes #4138
2022-09-22 21:02:45 -04:00
Tom Moor
d8b4814aa9
perf: Suppress Mermaid diagram rendering when hidden ( #3963 )
2022-08-14 08:50:37 -07:00
Spotlight
192802d360
feat: Expand highlighted languages ( #3891 )
...
Adds Elixir, Kotlin, and Swift to the list of available languages to be highlighted.
2022-07-31 11:23:59 -07:00
Tom Moor
4e189b8970
Improved sanitization of href's in editor
2022-07-05 10:14:16 +02:00
Tom Moor
9a6e09bafa
feat: Add mermaidjs integration ( #3679 )
...
* feat: Add mermaidjs integration (#3523 )
* Add mermaidjs to dependencies and CodeFenceNode
* Fix diagram id for mermaidjs diagrams
* Fix typescript compiler errors on mermaid integration
* Fix id generation for mermaid diagrams
* Refactor mermaidjs integration into prosemirror plugin
* Remove unnecessary class attribute in mermaidjs integration
* Change mermaidjs label to singular
* Change decorator.inline to decorator.node for mermaid diagram id
* Fix diagram toggle state
* Add border and background to mermaid diagrams
* Stop mermaidjs from overwriting fontFamily inside diagrams
* Add stable diagramId to mermaid diagrams
* Separate text for hide/show diagram
Use uuid as diagramId, avoid storing in state
Fix cursor on diagrams
* fix: Base diagram visibility off presence of source
* fix: More cases where our font-family is ignored
* Disable HTML labels
* fix: Button styling – not technically required but now we have a third button this felt all the more needed
closes #3116
* named chunks
* Upgrade mermaid 9.1.3
Co-authored-by: Jan Niklas Richter <5812215+ArcticXWolf@users.noreply.github.com >
2022-06-28 22:44:36 -07:00
Tom Moor
6975d76faf
fix: Paste without formatting not respected
...
closes #3675
2022-06-20 15:58:07 +02:00
Tom Moor
1c7c478a4a
fix: Newlines should be interpreted as paragraphs when pasting
...
closes #3421
2022-06-09 20:58:52 +02:00
Tom Moor
ba7b3fff05
fix: Emojis and embeds cannot be copied to plain text clipboard ( #3561 )
2022-05-20 09:47:13 -07:00
Tom Moor
b10802a0aa
fix: Document empty placeholder changes when focused
2022-04-17 11:58:46 -07:00
Tom Moor
1f93027c97
feat: Add date and time slash commands to block menu
2022-04-07 18:50:50 -07:00
Tom Moor
c66aca063e
feat: Add patterns to insert current date and time into doc ( #3309 )
...
* feat: Add patterns to insert current date and time into doc
* Add commands to title input too
* lint: Remove console.log
2022-03-31 19:51:55 -07:00
Tom Moor
4c0cd3d893
perf: More decoration caching
2022-03-31 19:51:30 -07:00
Ferran Celades
9fef7fc5ec
feat: Adding Solidity support ( #3303 )
...
* Adding Solidity support
* Update CodeFence.ts
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-03-31 08:39:09 -07:00
Tom Moor
6f2a4488e8
chore: Editor refactor ( #3286 )
...
* cleanup
* add context
* EventEmitter allows removal of toolbar props from extensions
* Move to 'packages' of extensions
Remove EmojiTrigger extension
* types
* iteration
* fix render flashing
* fix: Missing nodes in collection descriptions
2022-03-30 19:10:34 -07:00
Tom Moor
2ca68c2c80
fix: Cancel editing shortcut on Windows
...
fix: Improve display of symbols in keyboard shortcuts dialog
closes #2733
2022-02-17 23:10:11 -08:00