mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-24 03:39:01 +08:00
build: get tests going
This commit is contained in:
parent
ff04353b3e
commit
8b586721b7
@ -22,7 +22,7 @@
|
||||
"build": "turbo run build",
|
||||
"build:pm": "turbo run build --filter=@tiptap/pm",
|
||||
"build:demos": "npm run build:demos --workspace demos",
|
||||
"serve": "npm run build:demos && npm --prefix ./demos run preview",
|
||||
"serve": "npm run build:demos && npx http-server ./demos/dist -p 3000",
|
||||
"build:ci": "turbo run build",
|
||||
"publish": "npm run build && npm run changeset publish",
|
||||
"clean:packages": "rm -rf ./packages/*/dist && rm -rf ./packages/pm/*/dist",
|
||||
|
@ -1,4 +1,5 @@
|
||||
import { Mark, mergeAttributes } from '@tiptap/core'
|
||||
import type { StyleParseRule } from '@tiptap/pm/model'
|
||||
|
||||
export interface SubscriptExtensionOptions {
|
||||
/**
|
||||
@ -60,7 +61,7 @@ export const Subscript = Mark.create<SubscriptExtensionOptions>({
|
||||
// If it falls through we’ll match, and this mark will be applied.
|
||||
return null
|
||||
},
|
||||
},
|
||||
} as StyleParseRule,
|
||||
]
|
||||
},
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
import { Mark, mergeAttributes } from '@tiptap/core'
|
||||
import type { StyleParseRule } from '@tiptap/pm/model'
|
||||
|
||||
export interface SuperscriptExtensionOptions {
|
||||
/**
|
||||
@ -60,7 +61,7 @@ export const Superscript = Mark.create<SuperscriptExtensionOptions>({
|
||||
// If it falls through we’ll match, and this mark will be applied.
|
||||
return null
|
||||
},
|
||||
},
|
||||
} as StyleParseRule,
|
||||
]
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user