* fix: New threads attached to previous as replies
* fix: Cannot use floating toolbar properly in comments
* perf: Avoid re-writing history on click in editor
* fix: Comment on text selection
* fix: 'Copy link' on comments uses wrong hostname
* Show comment buttons on input focus rather than non-empty input
Increase maximum sidebar size
* Allow opening comments from document menu
* fix: Clicking comment menu should not focus thread
* fix: Selection color
* fix: Draft comments not restored
* Add border above document level comment input
* fix: Floating toolbar not constrainted by offset parent
* fix flash of no comment on saving
* fix: Clicking on editor does not remove draft mark
* Comment model
* Framework, model, policy, presenter, api endpoint etc
* Iteration, first pass of UI
* fixes, refactors
* Comment commands
* comment socket support
* typing indicators
* comment component, styling
* wip
* right sidebar resize
* fix: CMD+Enter submit
* Add usePersistedState
fix: Main page scrolling on comment highlight
* drafts
* Typing indicator
* refactor
* policies
* Click thread to highlight
Improve comment timestamps
* padding
* Comment menu v1
* Change comments to use editor
* Basic comment editing
* fix: Hide commenting button when disabled at team level
* Enable opening sidebar without mark
* Move selected comment to location state
* Add comment delete confirmation
* Add comment count to document meta
* fix: Comment sidebar togglable
Add copy link to comment
* stash
* Restore History changes
* Refactor right sidebar to allow for comment animation
* Update to new router best practices
* stash
* Various improvements
* stash
* Handle click outside
* Fix incorrect placeholder in input
fix: Input box appearing on other sessions erroneously
* stash
* fix: Don't leave orphaned child comments
* styling
* stash
* Enable comment toggling again
* Edit styling, merge conflicts
* fix: Cannot navigate from insights to comments
* Remove draft comment mark on click outside
* Fix: Empty comment sidebar, tsc
* Remove public toggle
* fix: All comments are recessed
fix: Comments should not be printed
* fix: Associated mark should be removed on comment delete
* Revert unused changes
* Empty state, basic RTL support
* Create dont toggle comment mark
* Make it feel more snappy
* Highlight active comment in text
* fix animation
* RTL support
* Add reply CTA
* Translations
* types
* Working, but messy
* Add InputColor component
* types
* Show default theme values when not customized
* Support custom theme on team sign-in page
* Payload validation
* Custom theme on shared documents
* Improve theme validation
* Team -> Workspace in settings
* 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