Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2022-09-08Add printing stylesheet, enables printing of text filesfeat/print_cssFerdinand Thiessen
Currently printing will include the menu bar and longer text files will be cropped after the first page. This enables printing of text documents without any major styling changes, slightly adjusted margins and added table borders. This implements the CSS part of #112 Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2022-09-08Fix: Multiple elements with the same html idFerdinand Thiessen
Remove IDs on elements which might be present multiple times in the DOM. This might happen because they are used in the rich workspace but also in the editor viewer. Replaced the ID usage with the class name. Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2022-09-08fix: update link menububble on editor updatesMax
Ensure the menububble always shows the correct entries. The menububble shows different buttons if the selected text is a link. However its content often became out of sync with the editor: * when new text was selected the bubble was still cached * when the selection stayed active but was expanded / shrinked the menu bubble also stayed the same * when someone else editing the same page changed the current selection into a link Recompute the menububbles `active` data on every editor change. The code used for this is mostly taken from the menu bars mechanism for the same purpose. See updateState in src/components/Menu/BaseActionEntry.js. Signed-off-by: Max <max@nextcloud.com>
2022-09-06don't even render the image caption if attachment is not an imageJulien Veyssier
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-06pass upload auth params as GET-like ones to avoid authentication error when ↵Julien Veyssier
exceeding post_max_size, log upload auth error Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-06better border management for image captionJulien Veyssier
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-06rename cypress attachment tests, add one for media uploadJulien Veyssier
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-06image caption borderJulien Veyssier
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-06avoid image caption offset when delete icon appearsJulien Veyssier
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-06add border to media attachmentJulien Veyssier
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-06put delete icon next to imagesJulien Veyssier
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-06avoid mutating image target candidatesJulien Veyssier
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-06fix image caption text colorJulien Veyssier
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-06use computed props to toggle delete iconJulien Veyssier
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-06add tests for attachment metadata url generationJulien Veyssier
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-06move attachment resolver axios call to ImageViewJulien Veyssier
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-06use button for attachment deletion, left align media attachmentsJulien Veyssier
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-06rename 'insert attachment' menu action, wait for metadata before resolving ↵Julien Veyssier
loadImage Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-06adjust frontend testsJulien Veyssier
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-06rename most frontend image stuff to attachment (except the Tiptap node)Julien Veyssier
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-06use constants for attachment typesJulien Veyssier
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-06improve media file styleJulien Veyssier
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-06use delete icon instead of community trashcanJulien Veyssier
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-06rename most image stuff to file/media/attachmentJulien Veyssier
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-06allow media file upload, handle display in ImageViewJulien Veyssier
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-06Merge branch 'master' into fix/image_newlineJonas
2022-09-06Fix headlines being hidden behind toolbar (anchor links)Ferdinand Thiessen
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2022-09-05💄 (#2829): adjust RichWorkspace menuVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-09-05✏️ (#2829): typofixVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-09-05💄 (#2829): adjuste the style to get closer to the current actions component.Vinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-09-05Append a newline after inserted imagefix/image_newlineJonas
When uploading/inserting multiple images at once, an empty line will be in between the images. This makes it easier to place content in between the images. Fixes: #2784 Signed-off-by: Jonas <jonas@freesources.org>
2022-09-03🐛 fix missing sharing tokenfix/noid/fix-sharing-folderVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-09-01💄 (#299): adjust link positionVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-09-01Add visible and clickable links for the page anchorsFerdinand Thiessen
Handle inter-page links properly and use a heading view for displaying links and link anchors. Implements #2173 Also fix link handling, to scroll to selected header when clicking on an anchor link (`#some-id`). Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2022-08-30tests: add paragraph to expected outputMax
It was added to ensure the trailing paragraph extension of tiptap does not trigger an autosave without other changes. Signed-off-by: Max <max@nextcloud.com>
2022-08-30Hotfix to always load tiptap with the trailing paragraphJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-30Test that loading does not trigger a document changeJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-25Mock additional methods of @nextcloud/auth during testsJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-25Emit notification on adding a mentionJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-25fix: feedbackLuka Trovic
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-25Fix parsing of HTML for the mentionJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-25feat: display correct username and use ISearch to search usersLuka Trovic
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2022-08-25Fix editor opening when empty @ symbol is presentJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-25Fix keyboard navigationJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-25Cleanup old html renderingJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-25Use vue component for the renderingJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-25Fix lintingJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-25fix: solve markdown-it-mentions issuesLuka Trovic
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2022-08-25feat: enhance user mention uiLuka Trovic
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2022-08-25feat: add user mentions featureLuka Trovic
Signed-off-by: Luka Trovic <luka@nextcloud.com>