Age | Commit message (Collapse) | Author |
|
Signed-off-by: Jonas <jonas@freesources.org>
|
|
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Vinicius Reis <luiz.vinicius73@gmail.com>
|
|
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
- strikethrough
- blockquote
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
|
|
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>
|
|
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
|
|
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
|
|
This adds support for parsing files containing FrontMatter and editing
it as like a code block.
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
|
|
Signed-off-by: Max <max@nextcloud.com>
|
|
Signed-off-by: Max <max@nextcloud.com>
|
|
Signed-off-by: Max <max@nextcloud.com>
|
|
Signed-off-by: Max <max@nextcloud.com>
|
|
This injects the `$editor` to display the content.
One reason less to have the `$editor` in the `EditorWrapper`.
Signed-off-by: Max <max@nextcloud.com>
|
|
This will contain all editor related things.
For now it only has the EditorMediaHandler
Signed-off-by: Max <max@nextcloud.com>
|
|
`Editor/Status` handles the status display in the menubar.
`Editor/DocumentStatus` handles the document messages on conflict etc.
Also move all files that are only used within it into the `Components/Editor` dir.
Signed-off-by: Max <max@nextcloud.com>
|
|
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
Signed-off-by: Raul <raul@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
|
|
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
|
|
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>
|
|
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
::v-deep usage as a combinator has been deprecated
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
An empty text file should be serialized as `''` so fix
checking if the document only contains an empty code block
which type is `codeBlock` on tiptap v2 not `code_block`.
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
|
|
This reduces the console output as everytime a txt file is loaded
a exception is printed out that no matching language mapping is found
for txt.
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
|
|
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
Allows to keyboard focus on placeholder and create a new workspace using enter and space keys.
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
Removed the erroneous replacement of escaped brackets with
plain brackets as this breaks valid markdown.
Added a test case for this.
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
|
|
Added a markdown-it and tiptap extension to tag special, unknown,
markdown syntax which would be escaped by prosemirror-markdown on save.
The tagged part is not touched while saving if they are not modified manually.
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
|
|
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
|
|
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>
|
|
Adjusted test cases to test whitespace characters are
not touched.
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
|
|
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
|
|
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
|
|
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
|
|
Signed-off-by: Luka Trovic <luka@nextcloud.com>
|
|
With a lot of subdirectories the depth=1 PROPFIND will take quite a long time.
It has to look for workspace files in all the subdirectories.
Stop overloading the PROPFIND and rely on our own workspace endpoint
for that particular directory instead.
Signed-off-by: Max <max@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
|
|
This fixes #2229
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
|
|
We only want our custom link handlers (either the default from Text app
or a further customized one, e.g. from Collectives app) to happen if the
first mouse button is used, Ctrl key is not pressed and the link points
to a local link.
Signed-off-by: Jonas <jonas@freesources.org>
|
|
We use a prosemirror plugin with the `handleClick` handler to handle
clicking on links, so we don't want the default browser link handling to
happen.
See earlier commit 5bf15b4dc0e1e683f08db3aff57f258443715ef5 for
reference.
Signed-off-by: Jonas <jonas@freesources.org>
|
|
Signed-off-by: Max <max@nextcloud.com>
|
|
Provide functions are neither called on the providing object nor
on the injecting object, so using `this` within provided functions
will refer to the global `this` for which `$emit` is not defined.
This uses a factory pattern so that `this` is bound to the injecting
object.
Also forwarding the `click-link` event is needed.
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
|
|
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>
|
|
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
|
|
Signed-off-by: Luka Trovic <luka@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
|
|
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
|
|
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|