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
AgeCommit message (Collapse)Author
2022-04-20Merge pull request #2310 from nextcloud/backport/2303/stable24Jonas
[stable24] 📌 explicit latest versions
2022-04-19📌 explicit latest versionsVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com> 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-11npm: remove our own dependency on entities.Max
It was introduced in b757b003c to make sure we use entities >2.0 to satisfy some dependencies. But we do not depend on it ourselves. Signed-off-by: Max <max@nextcloud.com>
2022-04-09build(deps): bump prosemirror-transform from 1.4.1 to 1.4.2dependabot[bot]
Bumps [prosemirror-transform](https://github.com/prosemirror/prosemirror-transform) from 1.4.1 to 1.4.2. - [Release notes](https://github.com/prosemirror/prosemirror-transform/releases) - [Changelog](https://github.com/ProseMirror/prosemirror-transform/blob/master/CHANGELOG.md) - [Commits](https://github.com/prosemirror/prosemirror-transform/compare/1.4.1...1.4.2) --- updated-dependencies: - dependency-name: prosemirror-transform 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-04-09build(deps): bump prosemirror-view from 1.23.11 to 1.23.12dependabot[bot]
Bumps [prosemirror-view](https://github.com/prosemirror/prosemirror-view) from 1.23.11 to 1.23.12. - [Release notes](https://github.com/prosemirror/prosemirror-view/releases) - [Changelog](https://github.com/ProseMirror/prosemirror-view/blob/master/CHANGELOG.md) - [Commits](https://github.com/prosemirror/prosemirror-view/compare/1.23.11...1.23.12) --- updated-dependencies: - dependency-name: prosemirror-view 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-04-09build(deps): bump @nextcloud/vue from 5.3.0 to 5.3.1dependabot[bot]
Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue) from 5.3.0 to 5.3.1. - [Release notes](https://github.com/nextcloud/nextcloud-vue/releases) - [Changelog](https://github.com/nextcloud/nextcloud-vue/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v5.3.0...v5.3.1) --- updated-dependencies: - dependency-name: "@nextcloud/vue" 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-04-02build(deps): bump prosemirror-transform from 1.4.0 to 1.4.1dependabot[bot]
Bumps [prosemirror-transform](https://github.com/prosemirror/prosemirror-transform) from 1.4.0 to 1.4.1. - [Release notes](https://github.com/prosemirror/prosemirror-transform/releases) - [Changelog](https://github.com/ProseMirror/prosemirror-transform/blob/master/CHANGELOG.md) - [Commits](https://github.com/prosemirror/prosemirror-transform/compare/1.4.0...1.4.1) --- updated-dependencies: - dependency-name: prosemirror-transform 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-04-02build(deps): bump @nextcloud/vue from 5.2.1 to 5.3.0dependabot[bot]
Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue) from 5.2.1 to 5.3.0. - [Release notes](https://github.com/nextcloud/nextcloud-vue/releases) - [Changelog](https://github.com/nextcloud/nextcloud-vue/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v5.2.1...v5.3.0) --- updated-dependencies: - dependency-name: "@nextcloud/vue" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-04-02build(deps): bump prosemirror-view from 1.23.10 to 1.23.11dependabot[bot]
Bumps [prosemirror-view](https://github.com/prosemirror/prosemirror-view) from 1.23.10 to 1.23.11. - [Release notes](https://github.com/prosemirror/prosemirror-view/releases) - [Changelog](https://github.com/ProseMirror/prosemirror-view/blob/master/CHANGELOG.md) - [Commits](https://github.com/prosemirror/prosemirror-view/compare/1.23.10...1.23.11) --- updated-dependencies: - dependency-name: prosemirror-view 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-04-02build(deps-dev): bump cypress from 9.5.2 to 9.5.3dependabot[bot]
Bumps [cypress](https://github.com/cypress-io/cypress) from 9.5.2 to 9.5.3. - [Release notes](https://github.com/cypress-io/cypress/releases) - [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js) - [Commits](https://github.com/cypress-io/cypress/compare/v9.5.2...v9.5.3) --- updated-dependencies: - dependency-name: cypress dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2022-03-31fix: make tab leave table on last cell.Max
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-29build(deps): bump @nextcloud/vue from 5.1.1 to 5.2.1dependabot[bot]
Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue) from 5.1.1 to 5.2.1. - [Release notes](https://github.com/nextcloud/nextcloud-vue/releases) - [Changelog](https://github.com/nextcloud/nextcloud-vue/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v5.1.1...v5.2.1) --- updated-dependencies: - dependency-name: "@nextcloud/vue" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-29build(deps): bump prosemirror-view from 1.23.9 to 1.23.10dependabot[bot]
Bumps [prosemirror-view](https://github.com/prosemirror/prosemirror-view) from 1.23.9 to 1.23.10. - [Release notes](https://github.com/prosemirror/prosemirror-view/releases) - [Changelog](https://github.com/ProseMirror/prosemirror-view/blob/master/CHANGELOG.md) - [Commits](https://github.com/prosemirror/prosemirror-view/compare/1.23.9...1.23.10) --- updated-dependencies: - dependency-name: prosemirror-view 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-03-27build(deps): bump prosemirror-transform from 1.3.4 to 1.4.0dependabot[bot]
Bumps [prosemirror-transform](https://github.com/prosemirror/prosemirror-transform) from 1.3.4 to 1.4.0. - [Release notes](https://github.com/prosemirror/prosemirror-transform/releases) - [Changelog](https://github.com/ProseMirror/prosemirror-transform/blob/master/CHANGELOG.md) - [Commits](https://github.com/prosemirror/prosemirror-transform/compare/1.3.4...1.4.0) --- updated-dependencies: - dependency-name: prosemirror-transform dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-23test: configure jest to exclude cypressMax
Configure jest rather than setting command line options in npm scripts. Make `npx jest` pass without additional options. Signed-off-by: Max <max@nextcloud.com>
2022-03-19build(deps): bump @nextcloud/moment from 1.1.1 to 1.2.0dependabot[bot]
Bumps [@nextcloud/moment](https://github.com/nextcloud/nextcloud-moment) from 1.1.1 to 1.2.0. - [Release notes](https://github.com/nextcloud/nextcloud-moment/releases) - [Changelog](https://github.com/nextcloud/nextcloud-moment/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/nextcloud-moment/compare/v1.1.1...v1.2.0) --- updated-dependencies: - dependency-name: "@nextcloud/moment" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-17build(deps): bump prosemirror-markdown from 1.7.1 to 1.8.0dependabot[bot]
Bumps [prosemirror-markdown](https://github.com/prosemirror/prosemirror-markdown) from 1.7.1 to 1.8.0. - [Release notes](https://github.com/prosemirror/prosemirror-markdown/releases) - [Changelog](https://github.com/ProseMirror/prosemirror-markdown/blob/master/CHANGELOG.md) - [Commits](https://github.com/prosemirror/prosemirror-markdown/compare/1.7.1...1.8.0) --- updated-dependencies: - dependency-name: prosemirror-markdown dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-16build(deps): bump @nextcloud/vue from 5.1.0 to 5.1.1dependabot[bot]
Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue) from 5.1.0 to 5.1.1. - [Release notes](https://github.com/nextcloud/nextcloud-vue/releases) - [Changelog](https://github.com/nextcloud/nextcloud-vue/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v5.1.0...v5.1.1) --- updated-dependencies: - dependency-name: "@nextcloud/vue" 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-03-16build(deps-dev): bump cypress from 9.5.1 to 9.5.2dependabot[bot]
Bumps [cypress](https://github.com/cypress-io/cypress) from 9.5.1 to 9.5.2. - [Release notes](https://github.com/cypress-io/cypress/releases) - [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js) - [Commits](https://github.com/cypress-io/cypress/compare/v9.5.1...v9.5.2) --- updated-dependencies: - dependency-name: cypress dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2022-03-14âž• (#2184): add eslint-plugin-cypressVinicius Reis
also remove dependency vulnerability Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-03-14✨ (#2128): add markdown-it-containerVinicius Reis
define info, warn, error and success containers Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-03-12build(deps): bump prosemirror-view from 1.23.7 to 1.23.9dependabot[bot]
Bumps [prosemirror-view](https://github.com/prosemirror/prosemirror-view) from 1.23.7 to 1.23.9. - [Release notes](https://github.com/prosemirror/prosemirror-view/releases) - [Changelog](https://github.com/ProseMirror/prosemirror-view/blob/master/CHANGELOG.md) - [Commits](https://github.com/prosemirror/prosemirror-view/compare/1.23.7...1.23.9) --- updated-dependencies: - dependency-name: prosemirror-view 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-03-05build(deps-dev): bump cypress from 9.5.0 to 9.5.1dependabot[bot]
Bumps [cypress](https://github.com/cypress-io/cypress) from 9.5.0 to 9.5.1. - [Release notes](https://github.com/cypress-io/cypress/releases) - [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js) - [Commits](https://github.com/cypress-io/cypress/compare/v9.5.0...v9.5.1) --- updated-dependencies: - dependency-name: cypress dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2022-03-02fix: indicator of the task list.Max
See #2018. Use tiptap TaskList and TaskItem. Markdown-it happily mixes tasks and bullet points in the same list. Tiptap lists are strictly separated. Split bullet and tasks into BulletList and TaskList in markdown-io. Just like this will turn into three different lists: * one - two + three This will now also turn into three different lists with the middle one being a task list: * first list * [ ] todo * [x] done * third list Signed-off-by: Max <max@nextcloud.com>
2022-03-02test: load markdown with commands from .md fileMax
Signed-off-by: Max <max@nextcloud.com>
2022-03-01build(deps-dev): bump @nextcloud/webpack-vue-config from 4.3.2 to 5.0.0dependabot[bot]
Bumps [@nextcloud/webpack-vue-config](https://github.com/nextcloud/webpack-vue-config) from 4.3.2 to 5.0.0. - [Release notes](https://github.com/nextcloud/webpack-vue-config/releases) - [Changelog](https://github.com/nextcloud/webpack-vue-config/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/webpack-vue-config/compare/v4.3.2...v5.0.0) --- updated-dependencies: - dependency-name: "@nextcloud/webpack-vue-config" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
2022-03-01Bump @nextcloud/eslint-config from 6.1.2 to 7.0.2dependabot[bot]
Bumps [@nextcloud/eslint-config](https://github.com/nextcloud/eslint-config) from 6.1.2 to 7.0.2. - [Release notes](https://github.com/nextcloud/eslint-config/releases) - [Changelog](https://github.com/nextcloud/eslint-config/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/eslint-config/compare/v6.1.2...v7.0.2) --- updated-dependencies: - dependency-name: "@nextcloud/eslint-config" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
2022-03-01update: @nextcloud/vue to 5.1.0 to fix testsMax
Signed-off-by: Max <max@nextcloud.com>
2022-03-01Add emoji autocompletion (#987)Jonas
Adds emoji autocompletion by typing `:<search_string>`. It utilizes the emoji functions from nextcloud-vue[1] and the TipTap suggestions extension. [1] https://github.com/nextcloud/nextcloud-vue/pull/1474 Signed-off-by: Jonas <jonas@freesources.org>
2022-02-26build(deps): bump prosemirror-view from 1.23.6 to 1.23.7dependabot[bot]
Bumps [prosemirror-view](https://github.com/prosemirror/prosemirror-view) from 1.23.6 to 1.23.7. - [Release notes](https://github.com/prosemirror/prosemirror-view/releases) - [Changelog](https://github.com/ProseMirror/prosemirror-view/blob/master/CHANGELOG.md) - [Commits](https://github.com/prosemirror/prosemirror-view/compare/1.23.6...1.23.7) --- updated-dependencies: - dependency-name: prosemirror-view 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-02-21build(deps): bump core-js from 3.21.0 to 3.21.1dependabot[bot]
Bumps [core-js](https://github.com/zloirock/core-js) from 3.21.0 to 3.21.1. - [Release notes](https://github.com/zloirock/core-js/releases) - [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md) - [Commits](https://github.com/zloirock/core-js/compare/v3.21.0...v3.21.1) --- updated-dependencies: - dependency-name: core-js 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-02-21build(deps): bump prosemirror-markdown from 1.7.0 to 1.7.1dependabot[bot]
Bumps [prosemirror-markdown](https://github.com/prosemirror/prosemirror-markdown) from 1.7.0 to 1.7.1. - [Release notes](https://github.com/prosemirror/prosemirror-markdown/releases) - [Changelog](https://github.com/ProseMirror/prosemirror-markdown/blob/master/CHANGELOG.md) - [Commits](https://github.com/prosemirror/prosemirror-markdown/compare/1.7.0...1.7.1) --- updated-dependencies: - dependency-name: prosemirror-markdown 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-02-19build(deps-dev): bump cypress from 9.4.1 to 9.5.0dependabot[bot]
Bumps [cypress](https://github.com/cypress-io/cypress) from 9.4.1 to 9.5.0. - [Release notes](https://github.com/cypress-io/cypress/releases) - [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js) - [Commits](https://github.com/cypress-io/cypress/compare/v9.4.1...v9.5.0) --- updated-dependencies: - dependency-name: cypress dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14fix: bring back horizontal ruleMax
Also drop @tiptap/starter-kit as we are not using it anymore. Signed-off-by: Max <max@nextcloud.com>
2022-02-13build(deps): bump core-js from 3.20.3 to 3.21.0dependabot[bot]
Bumps [core-js](https://github.com/zloirock/core-js) from 3.20.3 to 3.21.0. - [Release notes](https://github.com/zloirock/core-js/releases) - [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md) - [Commits](https://github.com/zloirock/core-js/compare/v3.20.3...v3.21.0) --- updated-dependencies: - dependency-name: core-js dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-02-13build(deps): bump @tiptap/extension-imagedependabot[bot]
Bumps [@tiptap/extension-image](https://github.com/ueberdosis/tiptap/tree/HEAD/packages/extension-image) from 2.0.0-beta.25 to 2.0.0-beta.27. - [Release notes](https://github.com/ueberdosis/tiptap/releases) - [Changelog](https://github.com/ueberdosis/tiptap/blob/main/packages/extension-image/CHANGELOG.md) - [Commits](https://github.com/ueberdosis/tiptap/commits/@tiptap/extension-image@2.0.0-beta.27/packages/extension-image) --- updated-dependencies: - dependency-name: "@tiptap/extension-image" 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-02-13build(deps): bump @tiptap/starter-kitdependabot[bot]
Bumps [@tiptap/starter-kit](https://github.com/ueberdosis/tiptap/tree/HEAD/packages/starter-kit) from 2.0.0-beta.181 to 2.0.0-beta.183. - [Release notes](https://github.com/ueberdosis/tiptap/releases) - [Changelog](https://github.com/ueberdosis/tiptap/blob/main/packages/starter-kit/CHANGELOG.md) - [Commits](https://github.com/ueberdosis/tiptap/commits/@tiptap/starter-kit@2.0.0-beta.183/packages/starter-kit) --- updated-dependencies: - dependency-name: "@tiptap/starter-kit" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2022-02-13build(deps): bump @tiptap/core from 2.0.0-beta.172 to 2.0.0-beta.174dependabot[bot]
Bumps [@tiptap/core](https://github.com/ueberdosis/tiptap/tree/HEAD/packages/core) from 2.0.0-beta.172 to 2.0.0-beta.174. - [Release notes](https://github.com/ueberdosis/tiptap/releases) - [Changelog](https://github.com/ueberdosis/tiptap/blob/main/packages/core/CHANGELOG.md) - [Commits](https://github.com/ueberdosis/tiptap/commits/@tiptap/core@2.0.0-beta.174/packages/core) --- updated-dependencies: - dependency-name: "@tiptap/core" 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-02-12build(deps): bump @nextcloud/vue from 4.3.0 to 5.0.0dependabot[bot]
Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue) from 4.3.0 to 5.0.0. - [Release notes](https://github.com/nextcloud/nextcloud-vue/releases) - [Changelog](https://github.com/nextcloud/nextcloud-vue/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v4.3.0...v5.0.0) --- updated-dependencies: - dependency-name: "@nextcloud/vue" dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-02-12build(deps-dev): bump jest from 27.4.7 to 27.5.1dependabot[bot]
Bumps [jest](https://github.com/facebook/jest) from 27.4.7 to 27.5.1. - [Release notes](https://github.com/facebook/jest/releases) - [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/jest/compare/v27.4.7...v27.5.1) --- updated-dependencies: - dependency-name: jest dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-02-12build(deps-dev): bump jest-environment-jsdom from 27.4.6 to 27.5.1dependabot[bot]
Bumps [jest-environment-jsdom](https://github.com/facebook/jest/tree/HEAD/packages/jest-environment-jsdom) from 27.4.6 to 27.5.1. - [Release notes](https://github.com/facebook/jest/releases) - [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/jest/commits/v27.5.1/packages/jest-environment-jsdom) --- updated-dependencies: - dependency-name: jest-environment-jsdom dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-02-10build(deps-dev): bump cypress from 9.3.1 to 9.4.1dependabot[bot]
Bumps [cypress](https://github.com/cypress-io/cypress) from 9.3.1 to 9.4.1. - [Release notes](https://github.com/cypress-io/cypress/releases) - [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js) - [Commits](https://github.com/cypress-io/cypress/compare/v9.3.1...v9.4.1) --- updated-dependencies: - dependency-name: cypress dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-02-09fix: use same lowlight version as tiptapMax
Lowlight 2.4.1 was causing failures with jest. Jest was unhappy with it being an ESM module: https://github.com/nextcloud/text/runs/5089748945 Do not hand around the lowlight global between EditorFactory and EditorWrapper. Tiptaps CodeBlockLowLight does not need it anyway. Signed-off-by: Max <max@nextcloud.com>
2022-02-09upgrade: syntax highlighting with tiptap2Azul
Signed-off-by: Max <max@nextcloud.com>
2022-02-09upgrade: tiptap v2Azul
Migrate the entire editor to tiptap v2. Some changes were introduces that go beyond just using the new tiptap API: *Collaboration* Port tiptap1 collaboration. We still want to use our session and sync mechanism. *Serialization* Add Markdown extension to handle serialization. Tiptap config extensions are not automatically added to the prosemirror schema anymore. The extension adds the `toMarkdown` config value to the prosemirror schema. With the new naming scheme tiptap nodes for a number of elements do not match the prosemirror names. Camelcase the marks and nodes from `defaultMarkdownSerializer` so they match the tiptap names. *Menubar* * Specify args for isActive function directly rather than setting a function. * Make use of the editor instance inside the MenuBar component. * Use the editor rather than slots for command, focused etc. * disable icons based on editor.can * Show menubar as long as submenus are open. When opening a submenu of the menubar keep track of the open menu even for the image and the remaining action menu. Also refocus the editor whenever a submenu is closed. *MenuBubble* Let tippy handle the positioning Tippy is really good at positioning the menu bubble. Remove all our workarounds and let it do its thing. In order for this to work the content of the MenuBubble actually needs to live inside the tippy-content. Tippy bases its calculations on the width of tippy-content. So if we have the content hanging in a separate div with absolute positioning tippy-content will be 0x0 px and not represent the actual width of the menu bubble. *Upgrade image node and ImageView.* Quite a bit of the syntax changed. We now need a wrapping `<node-view-wrapper>` element. Pretty good docs at https://tiptap.dev/guide/node-views/vue#render-a-vue-component We also need to handle the async action. It will run the action on it's own. So in `clickIcon()` we need to test if the action returned anything. Tiptap v1 had inline images. v2 keeps them outside of paragraphs by default. Configure Image node to use inline images as markdownit creates inline images right now. *Trailing Node* Tiptap v2 does not ship the trailing node extension anymore. Included the one from the demos and turned it from typescript into javascript. *Tests* In order to isolate some problems tests were added. The tests in Undeline.spec.js were green right from the beginning. They are not related to the fix and only helped isolate the problem. Also introduced a cypress test for Lists that tests the editor without rendering the page and logging in. It is very fast and fairly easy to write. *Refactorings* * Split marks into separate files. Signed-off-by: Max <max@nextcloud.com>
2022-02-07build(deps): bump prosemirror-transform from 1.3.3 to 1.3.4dependabot[bot]
Bumps [prosemirror-transform](https://github.com/prosemirror/prosemirror-transform) from 1.3.3 to 1.3.4. - [Release notes](https://github.com/prosemirror/prosemirror-transform/releases) - [Changelog](https://github.com/ProseMirror/prosemirror-transform/blob/master/CHANGELOG.md) - [Commits](https://github.com/prosemirror/prosemirror-transform/compare/1.3.3...1.3.4) --- updated-dependencies: - dependency-name: prosemirror-transform 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-01-22Bump cypress from 9.2.1 to 9.3.1dependabot[bot]
Bumps [cypress](https://github.com/cypress-io/cypress) from 9.2.1 to 9.3.1. - [Release notes](https://github.com/cypress-io/cypress/releases) - [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js) - [Commits](https://github.com/cypress-io/cypress/compare/v9.2.1...v9.3.1) --- updated-dependencies: - dependency-name: cypress dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-01-22Bump core-js from 3.20.2 to 3.20.3dependabot[bot]
Bumps [core-js](https://github.com/zloirock/core-js) from 3.20.2 to 3.20.3. - [Release notes](https://github.com/zloirock/core-js/releases) - [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md) - [Commits](https://github.com/zloirock/core-js/compare/v3.20.2...v3.20.3) --- updated-dependencies: - dependency-name: core-js 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>