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/nodes
AgeCommit message (Collapse)Author
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-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-06don't even render the image caption if attachment is not an imageJulien Veyssier
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-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-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-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-19Rename components to NcJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-19Fix eslint errorsJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-19Adapt to new eslint rulesJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-17🐛 (#107): calcule headers on creationVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-08-17♻️ (#107): split heading logic: extractHeadingsVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-08-17♻️ (#107): move heading anchor logic to heading titap pluginVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-08-17Fix animation to only trigger if the heading node actually changedJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-17🚧 (#107): Add outline viewVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-07-29Front matter: Handle dashes in contentFerdinand Thiessen
If the front matter contains a sequence of three or more dashes, the front matter fences must be adjusted. Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2022-07-29Better styling of Front Matter + input ruleFerdinand Thiessen
Added an input rule to add a front matter node if `---` is typed in the very beginning of the document. If it is typed somewhere else the default behavior is still to insert a `hr` node. Added a border on the left of the front matter, like the callouts and blockquote, and added a title for the element. Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de> a
2022-07-29Add support for editing (not creating) FrontMatterFerdinand Thiessen
This adds support for parsing files containing FrontMatter and editing it as like a code block. Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2022-07-29rename EditorWrapper -> EditorMax
Signed-off-by: Max <max@nextcloud.com>
2022-07-25Fix bullet list input role for CJK inputFerdinand Thiessen
When using IME for CJK character input it is called after the composing is finished, at this point there might be more than one character. Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-22🚨 fix build warningsVinicius Reis
::v-deep usage as a combinator has been deprecated Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-07-15Fix parsing of whitespace used in task listsFerdinand Thiessen
Switch to @hedgedoc/markdown-it-task-lists to fix parsing of task lists, namely allowing any whitespace inside the brackets, as by the github markdown specs. Doing this as markdown-it-task-lists seems orphaned, while hedgedoc is maintained and the bug is fixed there. This required adjusting the task-list testcase as the output is slightly different. Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2022-07-15Ensure whitespaces in markdown files are preservedFerdinand Thiessen
Adjusted test cases to test whitespace characters are not touched. Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2022-07-04build(deps): bump @tiptap/extension-tabledependabot[bot]
Bumps [@tiptap/extension-table](https://github.com/ueberdosis/tiptap/tree/HEAD/packages/extension-table) from 2.0.0-beta.53 to 2.0.0-beta.54. - [Release notes](https://github.com/ueberdosis/tiptap/releases) - [Changelog](https://github.com/ueberdosis/tiptap/blob/main/packages/extension-table/CHANGELOG.md) - [Commits](https://github.com/ueberdosis/tiptap/commits/@tiptap/extension-table@2.0.0-beta.54/packages/extension-table) --- updated-dependencies: - dependency-name: "@tiptap/extension-table" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-06-30Avoid loading the image before the node viewJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-06-30l10n: Correct spellingValdnet
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-06-20🚨 fix stylelint warningsVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-06-20⬆️ update tiptap and prosemirrorVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-06-09🚸 (#2463): change error messageVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-06-09♻️ (#2463): remove duplicated codeVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-06-09✨ (#2463): emit error when image loading failsVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-06-09🚸 (#2463): improve uxVinicius Reis
change error icon and color and move error message Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-06-09🩹 (#2463): show a falback image when image can't be loadedVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-06-07fix: remove nodes/index.js - import directlyMax
`vite dev` will load all imports in imported files. So for now it is better to not bundle multiple files in indexes. Signed-off-by: Max <max@nextcloud.com>