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-05-13manual backport of #2383, fix attachment link target generation, this also ↵Julien Veyssier
fixes cleanup when there are parenthesis in the file names Signed-off-by: Julien Veyssier <eneiluj@posteo.net> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-05-09Switch to auto table layoutJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-04-27Merge remote-tracking branch 'origin/stable24' into backport/2340/stable24Vinicius Reis
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-04-27fix: adjust menubar on sidebar togglingMax
Signed-off-by: Max <max@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-04-26⚡️ (#2323): inject SyncService instanceVinicius Reis
Vinicius Reis <vinicius.reis@nextcloud.com>
2022-04-26⚡️ (#2323): remove reactivity from SyncService instanceVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-04-26⚡️ (#2323): inject editor into MenuBubbleVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-04-26⚡️ (#2323): use editor as providerVinicius Reis
inject editor into MenuBar Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-04-26⚡️ (#2323): remove reactivity from tiptap instanceVinicius Reis
2022-04-25Fix drag&drop of non-image objectsJonas
Only catch drop with custom image-drop event if it contains files. Fixes: #2317 Signed-off-by: Jonas <jonas@freesources.org> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-04-21Expose lock in the text UIJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-04-21🔀 (#2097): backport to stable24Vinicius Reis
manually applied from #2316 and #2318 Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-04-19Fix height of editor-wrapper in viewer modal on mobileJonas
On mobile, `#modal-container` already has `top: 50px`, so no need to add another `top: 50px` in `#editor-container` in that case. Also, remove `top` property from `#editor-container` in EditorWrapper and RichWorkspace altogether. The correct place to set `top` to fit with the header bar from a modal is ViewerComponent. Fixes: #2203 Fixes: #2295 Signed-off-by: Jonas <jonas@freesources.org> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-04-19Fix help modal style with @nextcloud/vue >= 5.0.0Jonas
Signed-off-by: Jonas <jonas@freesources.org> Fixes: #2203
2022-04-19fix: leave some buffer so menubar does not wrapMax
When resizing the browser make sure the three dot menu stays on the same line. Without a buffer it would sometimes wrap even though theoretical there was enough space in the menu bar. No idea what is going on there - but a 4px buffer seems to prevent just that. Signed-off-by: Max <max@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-04-19fix: prioritize emoji and calloutMax
They cannot be shown in the menu with the remaining tools. Signed-off-by: Max <max@nextcloud.com>
2022-04-19fix: keep menubar in one line - prioritize entriesMax
Menubar entries with submenus cannot be moved to the more-button. Prioritize them when picking the icons for the toolbar. If they still do not fit - do not add them to the more button either they do not work there. This makes sure that the menubar fits in one line and does not overflow. Still prioritizing `undo` and `bold` over `emoji` and `callout`. The former ones are need fairly frequently while the latter not so often. In addition mobile phones have an emoji picker in their text entry. Signed-off-by: Max <max@nextcloud.com>
2022-04-19move drop event handling to the Image node, fix position of dropped imageJulien Veyssier
Signed-off-by: Julien Veyssier <eneiluj@posteo.net> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-04-19Add dropcursor to indicate where drop happensJonas
Adds tiptap extension dropcursor: https://tiptap.dev/api/extensions/dropcursor Fixes: #2301 Signed-off-by: Jonas <jonas@freesources.org> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-04-11fix: only show table actions if editing is allowedMax
Signed-off-by: Max <max@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-04-11fix: clear float after tableMax
Make sure the following text does not start next to the table. Signed-off-by: Max <max@nextcloud.com>
2022-04-06Fix participant popover designJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-04-06fix file links, generate and open internal link if possibleJulien Veyssier
Signed-off-by: Julien Veyssier <eneiluj@posteo.net> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-31feature: button to remove tableMax
Hide it in table settings so it is harder to hit by accident. Undo still works - but still - it is quite a destructive action. Signed-off-by: Max <max@nextcloud.com>
2022-03-31ui: tweak tablesMax
little bit of padding on the top of the text so it is in the middle of the cell on single line cells. Use icons that are better destinguishable for delete commands. Signed-off-by: Max <max@nextcloud.com>
2022-03-31fix: disallow creating a table from within a tableMax
Signed-off-by: Max <max@nextcloud.com>
2022-03-31ui: reduce spacing in table headersMax
There is enough space already due to the size of the actions button. Signed-off-by: Max <max@nextcloud.com>
2022-03-31ui: translate table actions, new iconsMax
Signed-off-by: Max <max@nextcloud.com>
2022-03-31ui: add actions for rowsMax
Signed-off-by: Max <max@nextcloud.com>
2022-03-31feat: add and remove columns in tablesMax
Signed-off-by: Max <max@nextcloud.com>
2022-03-31enhance: move cursor down in table on enterMax
Only create a new row when we have reached the end of the table. Signed-off-by: Max <max@nextcloud.com>
2022-03-31fix: make tab leave table on last cell.Max
Signed-off-by: Max <max@nextcloud.com>
2022-03-31fix: preserve td and th attributesMax
Prosemirror expects colspan, rowspan and the like to calculate the table layout. Signed-off-by: Max <max@nextcloud.com>
2022-03-31fix: table layout to match prosemirror expectationsMax
Signed-off-by: Max <max@nextcloud.com>
2022-03-31fix: use tableRole `row` for headerRowMax
Prosemirrors `goToNextCell` command checks for a node with tableRole `row`. Without this the command fails. Signed-off-by: Max <max@nextcloud.com>
2022-03-31refactor: separate file for TableHeadRowMax
Signed-off-by: Max <max@nextcloud.com>
2022-03-31fix: keep tables separate in markdownMax
Also make sure that table rows are rendered on one line each. Signed-off-by: Max <max@nextcloud.com>
2022-03-31feature: add table button to create a tableMax
Signed-off-by: Max <max@nextcloud.com>
2022-03-31fix: handling of various table formatsMax
Signed-off-by: Max <max@nextcloud.com>
2022-03-31refactor: render Markdown in table nodesMax
Each node is responsible for rendering its markdown content. This splits the responsibility and simplifies the `toMarkdown` functions a lot. At the same time it makes it harder to beautify the entire table because every cell only knows about itself - not about the rest of the column. To work around this we can introduce padding attributes for TableCell and TableHeader. These need to be updated when the content of the table changes. They will also allow us to preserve the original padding from a markdown file. Signed-off-by: Max <max@nextcloud.com>
2022-03-31feature: initial table supportMax
First take at parsing and serializing markdown tables. Use TableHead and TableBody nodes to mimic the markdown table structure with a single heading line on top and multiple td lines following. Signed-off-by: Max <max@nextcloud.com>
2022-03-31harmonize prop/data namesenh/image-drag-n-dropJulien Veyssier
Signed-off-by: Julien Veyssier <eneiluj@posteo.net> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-31handle image paste, ignore the event's text if it contains a file (#2265)Julien Veyssier
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-03-31remove upload by link on server side, fix error managementJulien Veyssier
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-03-30use promises to handle multiple simultaneous uploadsJulien Veyssier
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-03-30add image upload via drag'n'dropJulien Veyssier
remove image upload by link move 'image insertion from files' from MenuBar to EditorWrapper allow uploading multiple files Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-03-22fix: detect callouts pasted from handbookMax
Signed-off-by: Max <max@nextcloud.com>
2022-03-14✅ (#2184): add markdown testsVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-03-14🚸 (#2184): change error to dangerVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-03-14🚚 (#2184): use callout instead of callout-containerVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>