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-10-18Localize and improve empty results message for user mentionsJonas
Signed-off-by: Jonas <jonas@freesources.org>
2022-10-18Allow to select user mentions with tab keyJonas
Signed-off-by: Jonas <jonas@freesources.org>
2022-10-18Ignore keyboard combinations with modifiers in user mention suggestion listJonas
Signed-off-by: Jonas <jonas@freesources.org>
2022-10-18Fix copy and paste of user mentionsJonas
Fixes: #3110 Signed-off-by: Jonas <jonas@freesources.org>
2022-10-14♻️ isolate logic of CharacterCountVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-10-14🩹 formatting-help must only be in extra optionsVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-10-12Fix pressing the enter key removes heading contentFerdinand Thiessen
`div` is not an allowed child element of a `hX` tag, this leads to invalid behavior on firefox so we need to use the `span` tag as the NodeView content container. Also using `tabindex=-1` on the NodeView will trigger weird behavior when clicking inside the heading and pressing the enter key. It will split the node but also copy the heading anchor link of the NodeView. Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2022-10-12Use vue-richtext for rendering paragraph widgetJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net> Address review feedback Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-10-11Remove superfluous `top: 104px` from outline stylingJonas
Signed-off-by: Jonas <jonas@freesources.org>
2022-10-11✨ (#2904): Able to show outiline in readonly modeVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-10-11Set #content margin to 0 for direct editingJonas
`#content` has a default margin in Nextcloud 25, which breaks the layout for direct editing. Manually set it to 0 in order to fix direct editing. Fixes: #2976 Signed-off-by: Jonas <jonas@freesources.org>
2022-10-11Remove unused assets copied from nextcloud-vueFerdinand Thiessen
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2022-10-10Consolidate CSS styles for user mention listJonas
Fixes: #3140 Signed-off-by: Jonas <jonas@freesources.org>
2022-10-06Migrate to use `:deep` selector instead of deprecated `::v-deep`Ferdinand Thiessen
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2022-10-05feat: add tests for mentionsLuka Trovic
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2022-10-05Always move formatting help to the three-dot-menuJonas
Signed-off-by: Jonas <jonas@freesources.org>
2022-10-05Add alphabet icon and character countJonas
Signed-off-by: Jonas <jonas@freesources.org>
2022-10-05Feature: Show word count in RichTextFerdinand Thiessen
Show word count as last element of the overflow menu, which now will be always shown. The word count is updated when the menu is openend as the tiptap word count is not reactive. Modified ActionList: Added a named slot for adding elements that should always shown as the last elements. Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2022-10-05Improved styling of saving indicatorFerdinand Thiessen
Improved the styling of the saving indicator on small screen sizes, previously the contributors menu was overlapped by the saving indicator. Also on dark color mode the saving indicator was inconveniently sticking out by its bright (white) background color, it is now set to the main background color. Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2022-10-03🐛 prevent attachment content to be editableVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-10-03🎨 format cssVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-10-03Added a unittest for escaping of table cellsFerdinand Thiessen
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2022-10-03Fix escaping of `|` inside table cellsFerdinand Thiessen
`|` is a special character inside tables and need to be escaped if used inside table cells. Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2022-10-02🐛 (#3069): fix table settings buttonfix/3069/table-settings-button-shifted-in-chromeiumVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-09-30🩹 fix emoji suggestion regressionVinicius Reis
Ref.: https://github.com/ueberdosis/tiptap/pull/3239 Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-09-30➕ use slug package to make anchor more idiom and emoji compatibleVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-09-29✏️ (#2842): change container of ActionAttachmentUploadVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-09-29🐛 fix emoji picker eventVinicius Reis
add tests for it Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-09-29🐛 (#2842): use menu bar as container for emoji and list actionsVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-09-28adjust jest testsJulien Veyssier
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-28add parameter to image attachment endpoint to choose if raw image is preferredJulien Veyssier
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-27🐛 fix missing usage of emojiAddRecentVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-09-27♻️ use single entry from @nextcloud/vueVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-09-26🐛 (#2910): add mobile testsVinicius Reis
formatting modal help Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-09-26🐛 (#2910): fix missing event listener in menu listVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-09-22fix: solve escape key closing the editor issueLuka Trovic
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2022-09-20Load Mention extension in RichText.jsJonas
Signed-off-by: Jonas <jonas@freesources.org>
2022-09-20Disable image caption input in readonly viewJonas
Signed-off-by: Jonas <jonas@freesources.org>
2022-09-20Remove focus-visible outline from headingsFerdinand Thiessen
This was introduced by using NodeViews. Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2022-09-19Use import instead of require to fix compilation with viteJonas
Signed-off-by: Jonas <jonas@freesources.org>
2022-09-13Add 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-09-13Use `@nextcloud/logger` for all loggingFerdinand Thiessen
The nextcloud logger take account for the configured logging level, so only messages the user / administrator wants are logged. This fixes #2846 (no debug messages are logged if not configured). Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2022-09-13Stop emoji autocompletion when it got escaped by hitting <Esc>Jonas
Signed-off-by: Jonas <jonas@freesources.org>
2022-09-13Allow to select emojis with tab keyJonas
Signed-off-by: Jonas <jonas@freesources.org>
2022-09-13Ignore keyboard combinations with modifiers in emoji selector listJonas
Signed-off-by: Jonas <jonas@freesources.org>
2022-09-13Fix eslint error about missing parameter descriptionJonas
Signed-off-by: Jonas <jonas@freesources.org>
2022-09-13fix: add primary attribute for current userLuka Trovic
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2022-09-13Add printing stylesheet, enables printing of text filesFerdinand 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-09⏪️ Revert "Merge pull request #2841 from ↵Vinicius Reis
nextcloud/feature/heading-anchors" until #2868 be fixed This reverts commit 0f2c48ea4c4822456f737b3c39b0c5f354b17df5, reversing changes made to 9973d1fb5230d8c9fb46394a14fbdcc90d339a3a. Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
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>