Skip to content

Commit

Permalink
fix: lint issues
Browse files Browse the repository at this point in the history
Signed-off-by: Luka Trovic <luka@nextcloud.com>
  • Loading branch information
luka-nextcloud committed Mar 31, 2023
1 parent 97bf10c commit ce23640
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions cypress/e2e/workspace.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ describe('Workspace', function() {
})

it('adds a Readme.md', function() {

const url = '**/remote.php/dav/files/**'
cy.intercept({ method: 'PUT', url })
.as('addDescription')

Expand Down Expand Up @@ -153,12 +153,11 @@ describe('Workspace', function() {
})

it('creates table and add multilines', function() {
const tag = 'table'
const multilinesContent = 'Line 1\nLine 2\nLine 3'
cy.visit(`apps/files?dir=/${encodeURIComponent(currentFolder)}`)
cy.openWorkspace()
.type('Hello !');

const tag = 'table'
const multilinesContent = `Line 1\nLine 2\nLine 3`
.type('Hello !')

cy.getMenuEntry(tag)
.click()
Expand Down
2 changes: 1 addition & 1 deletion src/nodes/Table/TableCell.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { TableCell } from '@tiptap/extension-table-cell'
import { Plugin } from '@tiptap/pm/state'
import { Node, Slice, Fragment } from '@tiptap/pm/model'
import { Fragment } from '@tiptap/pm/model'

export default TableCell.extend({
content: 'inline*',
Expand Down

0 comments on commit ce23640

Please sign in to comment.