* 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
* 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
* feat: mention user
* fix: trigger api call on every letter typed
* fix: this allows command menu to re-render upon props change, shouldComponentUpdate prevented re-rendering when necessary
* fix: add node
* fix: mention node styling
* fix: Caret not visible after inserting mention
* fix: apply mentionRule
* fix: label is to be obtained from content, not attrs
* feat: add mentions table and model
* fix: typo
* fix: make all mention nodes visible in shared doc
* feat: parse mention ids from doc text
* feat: MentionsProcessor
* feat: documents.publish tests
* feat: tests for MentionsProcessor
* feat: schedule notifs for mentions
* fix: get rid of Mention model
* fix: put actor id and mention id in raw md
* Revert "fix: put actor id and mention id in raw md"
This reverts commit 3bb8a22e3c560971dccad6d2f82266256bcb2d96.
* Revert "Revert "fix: put actor id and mention id in raw md""
This reverts commit 3c5b36c40cebf147663908cf27d0dce6488adfad.
* fix: review
* fix: no need of set
* fix: show avatar
* fix: get rid of eventName
* fix: font-weight
* fix: prioritize mention notifs
* fix: store id in md
* fix: no need of prepending m
* fix: fetchPage
* fix: Avatars incorrect color
* fix: remove scanRE
* fix: test
* fix: include alphabet other than latin
* lockfile
* fix: regex should test for letters, marks and digits
---------
Co-authored-by: Tom Moor <tom.moor@gmail.com>
* fix: Pasting from Microsoft Office pastes image. Closes#3058
* fix: Use Storage wrapper implementation for all editor calls to localStorage
closes#4776
It shouldn't be possible to have an image node with no src, but it does happen occassionally and this prevents the document from persisting. It's better to have a broken image than a doc that won't save
* 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>
* wip
* works
* wip
* refactor
* Support replacing image and retain width
fix: Copy paste does not retain size
* cleanup
* fix: Cannot resize past 100%
fix: Borders to edges on unresized images
* Handle Escape key while dragging
* fix: Embeds and images dont render when edit state changes
fix: Small animation regression
* tidy
* Add title to HTML export
* fix: Add compatability for documents without collab state
* Add HTML download option to UI
* docs
* fix nodes that required document to render
* Refactor to allow for styling of HTML export
* div>article for easier programatic content extraction
* wip
* stash
* fix: make authenticationId nullable fk
* fix: apply generics to resolve compile time type errors
* fix: loosen integration settings
* chore: refactor into functional component
* feat: pass integrations all the way to embeds
* perf: avoid re-fetching integrations
* fix: change attr name to avoid type overlap
* feat: use hostname from embed settings in matcher
* Revert "feat: use hostname from embed settings in matcher"
This reverts commit e7485d9cda4dcf45104e460465ca104a56c67ddc.
* feat: refactor into a class
* chore: refactor url regex formation as a util
* fix: escape regex special chars
* fix: remove in-house escapeRegExp in favor of lodash's
* fix: sanitize url
* perf: memoize embeds
* fix: rename hostname to url and allow spreading entire settings instead of just url
* fix: replace diagrams with drawio
* fix: rename
* fix: support self-hosted and saas both
* fix: assert on settings url
* fix: move embed integrations loading to hook
* fix: address review comments
* fix: use observer in favor of explicit state setters
* fix: refactor useEmbedIntegrations into useEmbeds
* fix: use translations for toasts
Co-authored-by: Tom Moor <tom.moor@gmail.com>
* fix: Cursor disappearing behind emoji
* Move emoji node styles to `Styles.ts`
* fix: grammar
* fix: Pasting emoji adds a new line
* fix: DOM element type