Merge pull request #5209 from payloadcms/feat/next-poc-ci
ci: next-poc updates
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
"build:types": "tsc --emitDeclarationOnly --outDir dist",
|
||||
"clean": "rimraf {dist,*.tsbuildinfo}",
|
||||
"copyfiles": "copyfiles -u 1 \"src/**/*.{html,css,scss,ttf,woff,woff2,eot,svg,jpg,png,json}\" dist/",
|
||||
"prepublishOnly": "pnpm clean && pnpm build"
|
||||
"prepublishOnly": "pnpm clean && pnpm turbo build"
|
||||
},
|
||||
"dependencies": {
|
||||
"@faceless-ui/modal": "2.0.1",
|
||||
|
||||
@@ -11,8 +11,6 @@ export const getCommonBlock = (editor: Editor, match?: NodeMatch<Node>): NodeEnt
|
||||
|
||||
const [common, path] = Node.common(editor, range.anchor.path, range.focus.path)
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-expect-error
|
||||
if (isBlockElement(editor, common) || Editor.isEditor(common)) {
|
||||
return [common, path]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user