mirror of
https://github.com/docmost/docmost.git
synced 2026-05-08 23:33:09 +08:00
657fdf8cb7
* Tiptap3 migration - WIP * fix collaboration * remove unused code * fix flicker * disable duplicate extensions * update tiptap version * Switch to useEditorState - Set shouldRerenderOnTransaction to false * fix editable state * add tippyoptions for reference * merge main * tiptap 3.6.1 * fix bubble menu * fix converter * fix menus * fix collaboration caret css * fix: Set `isInitialized` to force immediate react node view rendering * feat: Migrate tippy.js menus to Floating UI * feat: Update collaboration connection for HocusPocus v3 * fix: Connect/disconnect websocketProvider * cleanup * cleanup * feat: Improved placeholder and upload handling for images * feat: Improved placeholder and upload handling for videos * refactor: Image node and view clean-up * feat: Improved placeholder and upload handling for attachments * fix: Video view styles * fix: Transaction handling on asset upload * fix: Use imageDimensionsFromStream * feat: Multiple file upload, improved placeholders, local previews * fix: Drag & drop, paste upload * fix: Allow media as attachment * * add skeleton pulse animation * add translation strings * fix attachment view responsiveness * fix collab connection status display * Tiptap v3.17.0 * fix suggestion menu exit bug * fix search shortcut * fix history editor css * tiptap 3.17.1 --------- Co-authored-by: Arek Nawo <areknawo@areknawo.com>
27 lines
618 B
CSS
27 lines
618 B
CSS
/* Give a remote user a caret */
|
|
.collaboration-carets__caret {
|
|
border-left: 1px solid #0d0d0d;
|
|
border-right: 1px solid #0d0d0d;
|
|
margin-left: -1px;
|
|
margin-right: -1px;
|
|
pointer-events: none;
|
|
position: relative;
|
|
word-break: normal;
|
|
}
|
|
|
|
/* Render the username above the caret */
|
|
.collaboration-carets__label {
|
|
border-radius: 3px 3px 3px 0;
|
|
color: #0d0d0d;
|
|
font-size: 0.75rem;
|
|
font-style: normal;
|
|
font-weight: 600;
|
|
left: -1px;
|
|
line-height: normal;
|
|
padding: 0.1rem 0.3rem;
|
|
position: absolute;
|
|
top: -1.4em;
|
|
user-select: none;
|
|
white-space: nowrap;
|
|
}
|