Merge branch 'main' of github.com:ueberdosis/tiptap-next into main

# Conflicts:
#	yarn.lock
This commit is contained in:
Hans Pagel
2020-11-17 14:04:31 +01:00
112 changed files with 1040 additions and 486 deletions

View File

@@ -226,7 +226,7 @@ Mark.create({
// add this mark to the 'basic' group // add this mark to the 'basic' group
group: 'basic', group: 'basic',
// add this mark to the 'basic' and the 'foobar' group // add this mark to the 'basic' and the 'foobar' group
group: 'foobar', group: 'basic foobar',
}) })
``` ```

View File

@@ -1,14 +1,13 @@
{ {
"packages": [ "packages": [
"packages/core" "packages/*"
], ],
"npmClient": "yarn", "npmClient": "yarn",
"version": "independent", "version": "independent",
"useWorkspaces": false, "useWorkspaces": false,
"command": { "command": {
"publish": { "publish": {
"conventionalCommits": true, "conventionalCommits": true
"yes": true
} }
} }
} }

View File

@@ -13,9 +13,10 @@
"scripts": { "scripts": {
"start": "yarn --cwd ./docs start", "start": "yarn --cwd ./docs start",
"build:docs": "yarn --cwd ./docs build", "build:docs": "yarn --cwd ./docs build",
"build:packages": "yarn clean:packages && rollup -c", "build:packages": "yarn clean:packages && node --max-old-space-size=8192 node_modules/.bin/rollup -c",
"build:ci": "yarn clean:packages && rollup -c --ci", "build:ci": "yarn clean:packages && rollup -c --ci",
"clean:packages": "rm -rf ./packages/*/dist", "clean:packages": "rm -rf ./packages/*/dist",
"release": "yarn lint && yarn test && yarn build:packages && lerna publish",
"lint": "eslint --quiet --no-error-on-unmatched-pattern ./", "lint": "eslint --quiet --no-error-on-unmatched-pattern ./",
"test:open": "cypress open --project tests", "test:open": "cypress open --project tests",
"test": "cypress run --project tests", "test": "cypress run --project tests",

View File

@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [2.0.0-alpha.4](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/core@2.0.0-alpha.3...@tiptap/core@2.0.0-alpha.4) (2020-11-16)
**Note:** Version bump only for package @tiptap/core
# [2.0.0-alpha.3](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/core@2.0.0-alpha.2...@tiptap/core@2.0.0-alpha.3) (2020-11-16) # [2.0.0-alpha.3](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/core@2.0.0-alpha.2...@tiptap/core@2.0.0-alpha.3) (2020-11-16)

View File

@@ -1,6 +1,6 @@
{ {
"name": "@tiptap/core", "name": "@tiptap/core",
"version": "2.0.0-alpha.3", "version": "2.0.0-alpha.4",
"homepage": "https://tiptap.dev", "homepage": "https://tiptap.dev",
"keywords": [ "keywords": [
"tiptap", "tiptap",

View File

@@ -1,11 +1,11 @@
import { EditorState, Transaction } from 'prosemirror-state' import { EditorState, Transaction } from 'prosemirror-state'
import { Editor } from './Editor'
import { import {
SingleCommands, SingleCommands,
ChainedCommands, ChainedCommands,
CanCommands, CanCommands,
Editor,
CommandSpec, CommandSpec,
} from './Editor' } from './types'
import getAllMethodNames from './utils/getAllMethodNames' import getAllMethodNames from './utils/getAllMethodNames'
export default class CommandManager { export default class CommandManager {

View File

@@ -14,78 +14,16 @@ import createStyleTag from './utils/createStyleTag'
import CommandManager from './CommandManager' import CommandManager from './CommandManager'
import ExtensionManager from './ExtensionManager' import ExtensionManager from './ExtensionManager'
import EventEmitter from './EventEmitter' import EventEmitter from './EventEmitter'
import { Extension } from './Extension' import { EditorOptions, EditorContent, CommandSpec } from './types'
import { Node } from './Node'
import { Mark } from './Mark'
import { Extensions, UnionToIntersection } from './types'
import * as extensions from './extensions' import * as extensions from './extensions'
import style from './style' import style from './style'
import { AllExtensions } from '.'
export { extensions } export { extensions }
export type Command = (props: { export interface HTMLElement {
editor: Editor,
tr: Transaction,
commands: SingleCommands,
can: () => SingleCommands & { chain: () => ChainedCommands },
chain: () => ChainedCommands,
state: EditorState,
view: EditorView,
dispatch: ((args?: any) => any) | undefined,
}) => boolean
export type CommandSpec = (...args: any[]) => Command
export interface CommandsSpec {
[key: string]: CommandSpec
}
export type UnfilteredCommands = {
[Item in keyof AllExtensions]: AllExtensions[Item] extends Extension<any, infer ExtensionCommands>
? ExtensionCommands
: AllExtensions[Item] extends Node<any, infer NodeCommands>
? NodeCommands
: AllExtensions[Item] extends Mark<any, infer MarkCommands>
? MarkCommands
: never
}
export type ValuesOf<T> = T[keyof T];
export type KeysWithTypeOf<T, Type> = ({[P in keyof T]: T[P] extends Type ? P : never })[keyof T]
export type AllCommands = UnionToIntersection<ValuesOf<Pick<UnfilteredCommands, KeysWithTypeOf<UnfilteredCommands, {}>>>>
export type SingleCommands = {
[Item in keyof AllCommands]: AllCommands[Item] extends (...args: any[]) => any
? (...args: Parameters<AllCommands[Item]>) => boolean
: never
}
export type ChainedCommands = {
[Item in keyof AllCommands]: AllCommands[Item] extends (...args: any[]) => any
? (...args: Parameters<AllCommands[Item]>) => ChainedCommands
: never
} & {
run: () => boolean
}
export type CanCommands = SingleCommands & { chain: () => ChainedCommands }
type EditorContent = string | JSON | null
interface HTMLElement {
editor?: Editor editor?: Editor
} }
interface EditorOptions {
element: Element,
content: EditorContent,
extensions: Extensions,
injectCSS: boolean,
autoFocus: 'start' | 'end' | number | boolean | null,
editable: boolean,
}
@magicMethods @magicMethods
export class Editor extends EventEmitter { export class Editor extends EventEmitter {
@@ -205,7 +143,7 @@ export class Editor extends EventEmitter {
* *
* @param commands A list of commands * @param commands A list of commands
*/ */
public registerCommands(commands: CommandsSpec) { public registerCommands(commands: { [key: string]: CommandSpec }) {
Object Object
.entries(commands) .entries(commands)
.forEach(([name, command]) => this.registerCommand(name, command)) .forEach(([name, command]) => this.registerCommand(name, command))
@@ -390,22 +328,6 @@ export class Editor extends EventEmitter {
return false return false
} }
// public setParentComponent(component = null) {
// if (!component) {
// return
// }
// this.view.setProps({
// nodeViews: this.initNodeViews({
// parent: component,
// extensions: [
// ...this.builtInExtensions,
// ...this.options.extensions,
// ],
// }),
// })
// }
/** /**
* Get the document as JSON. * Get the document as JSON.
*/ */

View File

@@ -1,4 +1,5 @@
import { Plugin } from 'prosemirror-state' import { Plugin } from 'prosemirror-state'
import { InputRule } from 'prosemirror-inputrules'
import { Editor } from './Editor' import { Editor } from './Editor'
import { GlobalAttributes } from './types' import { GlobalAttributes } from './types'
@@ -44,7 +45,7 @@ export interface ExtensionConfig<Options = any, Commands = {}> {
addInputRules?: (this: { addInputRules?: (this: {
options: Options, options: Options,
editor: Editor, editor: Editor,
}) => any[], }) => InputRule[],
/** /**
* Paste rules * Paste rules
@@ -52,7 +53,7 @@ export interface ExtensionConfig<Options = any, Commands = {}> {
addPasteRules?: (this: { addPasteRules?: (this: {
options: Options, options: Options,
editor: Editor, editor: Editor,
}) => any[], }) => Plugin[],
/** /**
* ProseMirror plugins * ProseMirror plugins

View File

@@ -5,6 +5,7 @@ import {
MarkType, MarkType,
} from 'prosemirror-model' } from 'prosemirror-model'
import { Plugin } from 'prosemirror-state' import { Plugin } from 'prosemirror-state'
import { InputRule } from 'prosemirror-inputrules'
import { ExtensionConfig } from './Extension' import { ExtensionConfig } from './Extension'
import { Attributes, Overwrite } from './types' import { Attributes, Overwrite } from './types'
import { Editor } from './Editor' import { Editor } from './Editor'
@@ -88,7 +89,7 @@ export interface MarkConfig<Options = any, Commands = {}> extends Overwrite<Exte
options: Options, options: Options,
editor: Editor, editor: Editor,
type: MarkType, type: MarkType,
}) => any[], }) => InputRule[],
/** /**
* Paste rules * Paste rules
@@ -97,7 +98,7 @@ export interface MarkConfig<Options = any, Commands = {}> extends Overwrite<Exte
options: Options, options: Options,
editor: Editor, editor: Editor,
type: MarkType, type: MarkType,
}) => any[], }) => Plugin[],
/** /**
* ProseMirror plugins * ProseMirror plugins

View File

@@ -5,6 +5,7 @@ import {
NodeType, NodeType,
} from 'prosemirror-model' } from 'prosemirror-model'
import { Plugin } from 'prosemirror-state' import { Plugin } from 'prosemirror-state'
import { InputRule } from 'prosemirror-inputrules'
import { ExtensionConfig } from './Extension' import { ExtensionConfig } from './Extension'
import { Attributes, NodeViewRenderer, Overwrite } from './types' import { Attributes, NodeViewRenderer, Overwrite } from './types'
import { Editor } from './Editor' import { Editor } from './Editor'
@@ -123,7 +124,7 @@ export interface NodeConfig<Options = any, Commands = {}> extends Overwrite<Exte
options: Options, options: Options,
editor: Editor, editor: Editor,
type: NodeType, type: NodeType,
}) => any[], }) => InputRule[],
/** /**
* Paste rules * Paste rules
@@ -132,7 +133,7 @@ export interface NodeConfig<Options = any, Commands = {}> extends Overwrite<Exte
options: Options, options: Options,
editor: Editor, editor: Editor,
type: NodeType, type: NodeType,
}) => any[], }) => Plugin[],
/** /**
* ProseMirror plugins * ProseMirror plugins

View File

@@ -1,4 +1,4 @@
import { Command } from '../Editor' import { Command } from '../types'
export default (): Command => ({ view }) => { export default (): Command => ({ view }) => {
const element = view.dom as HTMLElement const element = view.dom as HTMLElement

View File

@@ -1,4 +1,4 @@
import { Command } from '../Editor' import { Command } from '../types'
export default (emitUpdate: Boolean = false): Command => ({ commands }) => { export default (emitUpdate: Boolean = false): Command => ({ commands }) => {
return commands.setContent('', emitUpdate) return commands.setContent('', emitUpdate)

View File

@@ -1,5 +1,5 @@
import { liftTarget } from 'prosemirror-transform' import { liftTarget } from 'prosemirror-transform'
import { Command } from '../Editor' import { Command } from '../types'
export default (): Command => ({ state, tr, dispatch }) => { export default (): Command => ({ state, tr, dispatch }) => {
const { selection } = tr const { selection } = tr

View File

@@ -1,5 +1,5 @@
import { deleteSelection } from 'prosemirror-commands' import { deleteSelection } from 'prosemirror-commands'
import { Command } from '../Editor' import { Command } from '../types'
export default (): Command => ({ state, dispatch }) => { export default (): Command => ({ state, dispatch }) => {
return deleteSelection(state, dispatch) return deleteSelection(state, dispatch)

View File

@@ -1,6 +1,6 @@
import { TextSelection } from 'prosemirror-state' import { TextSelection } from 'prosemirror-state'
import { MarkType } from 'prosemirror-model' import { MarkType } from 'prosemirror-model'
import { Command } from '../Editor' import { Command } from '../types'
import getMarkType from '../utils/getMarkType' import getMarkType from '../utils/getMarkType'
import getMarkRange from '../utils/getMarkRange' import getMarkRange from '../utils/getMarkRange'

View File

@@ -1,5 +1,6 @@
import { TextSelection } from 'prosemirror-state' import { TextSelection } from 'prosemirror-state'
import { Editor, Command } from '../Editor' import { Editor } from '../Editor'
import { Command } from '../types'
import minMax from '../utils/minMax' import minMax from '../utils/minMax'
type Position = 'start' | 'end' | number | boolean | null type Position = 'start' | 'end' | number | boolean | null

View File

@@ -2,7 +2,7 @@ import { DOMParser } from 'prosemirror-model'
import { Selection, Transaction } from 'prosemirror-state' import { Selection, Transaction } from 'prosemirror-state'
import { ReplaceStep, ReplaceAroundStep } from 'prosemirror-transform' import { ReplaceStep, ReplaceAroundStep } from 'prosemirror-transform'
import elementFromString from '../utils/elementFromString' import elementFromString from '../utils/elementFromString'
import { Command } from '../Editor' import { Command } from '../types'
// TODO: move to utils // TODO: move to utils
// https://github.com/ProseMirror/prosemirror-state/blob/master/src/selection.js#L466 // https://github.com/ProseMirror/prosemirror-state/blob/master/src/selection.js#L466

View File

@@ -1,4 +1,4 @@
import { Command } from '../Editor' import { Command } from '../types'
export default (value: string): Command => ({ tr, dispatch }) => { export default (value: string): Command => ({ tr, dispatch }) => {
if (dispatch) { if (dispatch) {

View File

@@ -1,6 +1,6 @@
import { liftListItem } from 'prosemirror-schema-list' import { liftListItem } from 'prosemirror-schema-list'
import { NodeType } from 'prosemirror-model' import { NodeType } from 'prosemirror-model'
import { Command } from '../Editor' import { Command } from '../types'
import getNodeType from '../utils/getNodeType' import getNodeType from '../utils/getNodeType'
export default (typeOrName: string | NodeType): Command => ({ state, dispatch }) => { export default (typeOrName: string | NodeType): Command => ({ state, dispatch }) => {

View File

@@ -1,5 +1,5 @@
import { MarkType } from 'prosemirror-model' import { MarkType } from 'prosemirror-model'
import { Command } from '../Editor' import { Command } from '../types'
import getMarkType from '../utils/getMarkType' import getMarkType from '../utils/getMarkType'
import getMarkRange from '../utils/getMarkRange' import getMarkRange from '../utils/getMarkRange'

View File

@@ -1,4 +1,4 @@
import { Command } from '../Editor' import { Command } from '../types'
export default (): Command => ({ tr, state, dispatch }) => { export default (): Command => ({ tr, state, dispatch }) => {
const { selection } = tr const { selection } = tr

View File

@@ -1,4 +1,4 @@
import { Command } from '../Editor' import { Command } from '../types'
export default (attributeNames: string[] = []): Command => ({ tr, state, dispatch }) => { export default (attributeNames: string[] = []): Command => ({ tr, state, dispatch }) => {
const { selection } = tr const { selection } = tr

View File

@@ -1,4 +1,4 @@
import { Command } from '../Editor' import { Command } from '../types'
export default (): Command => ({ tr, dispatch }) => { export default (): Command => ({ tr, dispatch }) => {
if (dispatch) { if (dispatch) {

View File

@@ -1,5 +1,5 @@
import { selectAll } from 'prosemirror-commands' import { selectAll } from 'prosemirror-commands'
import { Command } from '../Editor' import { Command } from '../types'
export default (): Command => ({ state, dispatch }) => { export default (): Command => ({ state, dispatch }) => {
return selectAll(state, dispatch) return selectAll(state, dispatch)

View File

@@ -1,5 +1,5 @@
import { selectParentNode } from 'prosemirror-commands' import { selectParentNode } from 'prosemirror-commands'
import { Command } from '../Editor' import { Command } from '../types'
export default (): Command => ({ state, dispatch }) => { export default (): Command => ({ state, dispatch }) => {
return selectParentNode(state, dispatch) return selectParentNode(state, dispatch)

View File

@@ -1,6 +1,6 @@
import { NodeType } from 'prosemirror-model' import { NodeType } from 'prosemirror-model'
import { setBlockType } from 'prosemirror-commands' import { setBlockType } from 'prosemirror-commands'
import { Command } from '../Editor' import { Command } from '../types'
import getNodeType from '../utils/getNodeType' import getNodeType from '../utils/getNodeType'
export default (typeOrName: string | NodeType, attrs = {}): Command => ({ state, dispatch }) => { export default (typeOrName: string | NodeType, attrs = {}): Command => ({ state, dispatch }) => {

View File

@@ -1,5 +1,5 @@
import { TextSelection } from 'prosemirror-state' import { TextSelection } from 'prosemirror-state'
import { Command } from '../Editor' import { Command } from '../types'
export default (content: string, emitUpdate: Boolean = false, parseOptions = {}): Command => ({ tr, editor, dispatch }) => { export default (content: string, emitUpdate: Boolean = false, parseOptions = {}): Command => ({ tr, editor, dispatch }) => {
const { createDocument } = editor const { createDocument } = editor

View File

@@ -1,6 +1,6 @@
import { sinkListItem as originalSinkListItem } from 'prosemirror-schema-list' import { sinkListItem as originalSinkListItem } from 'prosemirror-schema-list'
import { NodeType } from 'prosemirror-model' import { NodeType } from 'prosemirror-model'
import { Command } from '../Editor' import { Command } from '../types'
import getNodeType from '../utils/getNodeType' import getNodeType from '../utils/getNodeType'
export default (typeOrName: string | NodeType): Command => ({ state, dispatch }) => { export default (typeOrName: string | NodeType): Command => ({ state, dispatch }) => {

View File

@@ -1,7 +1,7 @@
import { canSplit } from 'prosemirror-transform' import { canSplit } from 'prosemirror-transform'
import { ContentMatch, Fragment } from 'prosemirror-model' import { ContentMatch, Fragment } from 'prosemirror-model'
import { EditorState, NodeSelection, TextSelection } from 'prosemirror-state' import { EditorState, NodeSelection, TextSelection } from 'prosemirror-state'
import { Command } from '../Editor' import { Command } from '../types'
function defaultBlockAt(match: ContentMatch) { function defaultBlockAt(match: ContentMatch) {
for (let i = 0; i < match.edgeCount; i + 1) { for (let i = 0; i < match.edgeCount; i + 1) {

View File

@@ -1,6 +1,6 @@
import { splitListItem } from 'prosemirror-schema-list' import { splitListItem } from 'prosemirror-schema-list'
import { NodeType } from 'prosemirror-model' import { NodeType } from 'prosemirror-model'
import { Command } from '../Editor' import { Command } from '../types'
import getNodeType from '../utils/getNodeType' import getNodeType from '../utils/getNodeType'
export default (typeOrName: string | NodeType): Command => ({ state, dispatch }) => { export default (typeOrName: string | NodeType): Command => ({ state, dispatch }) => {

View File

@@ -1,5 +1,5 @@
import { NodeType } from 'prosemirror-model' import { NodeType } from 'prosemirror-model'
import { Command } from '../Editor' import { Command } from '../types'
import nodeIsActive from '../utils/nodeIsActive' import nodeIsActive from '../utils/nodeIsActive'
import getNodeType from '../utils/getNodeType' import getNodeType from '../utils/getNodeType'

View File

@@ -1,6 +1,6 @@
import { findParentNode } from 'prosemirror-utils' import { findParentNode } from 'prosemirror-utils'
import { NodeType } from 'prosemirror-model' import { NodeType } from 'prosemirror-model'
import { Command } from '../Editor' import { Command } from '../types'
import getNodeType from '../utils/getNodeType' import getNodeType from '../utils/getNodeType'
import isList from '../utils/isList' import isList from '../utils/isList'

View File

@@ -1,6 +1,6 @@
import { toggleMark } from 'prosemirror-commands' import { toggleMark } from 'prosemirror-commands'
import { MarkType } from 'prosemirror-model' import { MarkType } from 'prosemirror-model'
import { Command } from '../Editor' import { Command } from '../types'
import getMarkType from '../utils/getMarkType' import getMarkType from '../utils/getMarkType'
import markIsActive from '../utils/markIsActive' import markIsActive from '../utils/markIsActive'

View File

@@ -1,6 +1,6 @@
import { wrapIn, lift } from 'prosemirror-commands' import { wrapIn, lift } from 'prosemirror-commands'
import { NodeType } from 'prosemirror-model' import { NodeType } from 'prosemirror-model'
import { Command } from '../Editor' import { Command } from '../types'
import nodeIsActive from '../utils/nodeIsActive' import nodeIsActive from '../utils/nodeIsActive'
import getNodeType from '../utils/getNodeType' import getNodeType from '../utils/getNodeType'

View File

@@ -1,4 +1,4 @@
import { Command } from '../Editor' import { Command } from '../types'
export default (commands: Command[] | ((props: Parameters<Command>[0]) => Command[])): Command => props => { export default (commands: Command[] | ((props: Parameters<Command>[0]) => Command[])): Command => props => {
const items = typeof commands === 'function' const items = typeof commands === 'function'

View File

@@ -1,5 +1,5 @@
import { MarkType } from 'prosemirror-model' import { MarkType } from 'prosemirror-model'
import { Command } from '../Editor' import { Command } from '../types'
import getMarkType from '../utils/getMarkType' import getMarkType from '../utils/getMarkType'
import getMarkAttrs from '../utils/getMarkAttrs' import getMarkAttrs from '../utils/getMarkAttrs'

View File

@@ -1,4 +1,4 @@
import { Command } from '../Editor' import { Command } from '../types'
export default (attributes: {}): Command => ({ tr, state, dispatch }) => { export default (attributes: {}): Command => ({ tr, state, dispatch }) => {
const { selection } = tr const { selection } = tr

View File

@@ -1,6 +1,6 @@
import { wrapInList } from 'prosemirror-schema-list' import { wrapInList } from 'prosemirror-schema-list'
import { NodeType } from 'prosemirror-model' import { NodeType } from 'prosemirror-model'
import { Command } from '../Editor' import { Command } from '../types'
import getNodeType from '../utils/getNodeType' import getNodeType from '../utils/getNodeType'
export default (typeOrName: string | NodeType, attrs?: {}): Command => ({ state, dispatch }) => { export default (typeOrName: string | NodeType, attrs?: {}): Command => ({ state, dispatch }) => {

View File

@@ -1,5 +1,3 @@
export interface AllExtensions {}
export * from './Editor' export * from './Editor'
export * from './Extension' export * from './Extension'
export * from './Node' export * from './Node'
@@ -15,3 +13,5 @@ export { default as generateHTML } from './utils/generateHTML'
export { default as getHTMLFromFragment } from './utils/getHTMLFromFragment' export { default as getHTMLFromFragment } from './utils/getHTMLFromFragment'
export { default as getMarkAttrs } from './utils/getMarkAttrs' export { default as getMarkAttrs } from './utils/getMarkAttrs'
export { default as mergeAttributes } from './utils/mergeAttributes' export { default as mergeAttributes } from './utils/mergeAttributes'
export interface AllExtensions {}

View File

@@ -1,12 +1,38 @@
import { Node as ProseMirrorNode } from 'prosemirror-model' import { Node as ProseMirrorNode } from 'prosemirror-model'
import { Decoration, NodeView } from 'prosemirror-view' import { EditorView, Decoration, NodeView } from 'prosemirror-view'
import { EditorState, Transaction } from 'prosemirror-state'
import { Extension } from './Extension' import { Extension } from './Extension'
import { Node } from './Node' import { Node } from './Node'
import { Mark } from './Mark' import { Mark } from './Mark'
import { Editor } from './Editor' import { Editor } from './Editor'
import { AllExtensions } from '.'
export type Extensions = (Extension | Node | Mark)[] export type Extensions = (Extension | Node | Mark)[]
export interface EditorOptions {
element: Element,
content: EditorContent,
extensions: Extensions,
injectCSS: boolean,
autoFocus: 'start' | 'end' | number | boolean | null,
editable: boolean,
}
export type EditorContent = string | JSON | null
export type Command = (props: {
editor: Editor,
tr: Transaction,
commands: SingleCommands,
can: () => SingleCommands & { chain: () => ChainedCommands },
chain: () => ChainedCommands,
state: EditorState,
view: EditorView,
dispatch: ((args?: any) => any) | undefined,
}) => boolean
export type CommandSpec = (...args: any[]) => Command
export type Attribute = { export type Attribute = {
default: any, default: any,
rendered?: boolean, rendered?: boolean,
@@ -26,7 +52,9 @@ export type ExtensionAttribute = {
export type GlobalAttributes = { export type GlobalAttributes = {
types: string[], types: string[],
attributes: Attributes, attributes: {
[key: string]: Attribute
},
}[] }[]
export type PickValue<T, K extends keyof T> = T[K] export type PickValue<T, K extends keyof T> = T[K]
@@ -53,3 +81,33 @@ export type NodeViewRendererProps = {
} }
export type NodeViewRenderer = (props: NodeViewRendererProps) => NodeView export type NodeViewRenderer = (props: NodeViewRendererProps) => NodeView
export type UnfilteredCommands = {
[Item in keyof AllExtensions]: AllExtensions[Item] extends Extension<any, infer ExtensionCommands>
? ExtensionCommands
: AllExtensions[Item] extends Node<any, infer NodeCommands>
? NodeCommands
: AllExtensions[Item] extends Mark<any, infer MarkCommands>
? MarkCommands
: never
}
export type ValuesOf<T> = T[keyof T];
export type KeysWithTypeOf<T, Type> = ({[P in keyof T]: T[P] extends Type ? P : never })[keyof T]
export type AllCommands = UnionToIntersection<ValuesOf<Pick<UnfilteredCommands, KeysWithTypeOf<UnfilteredCommands, {}>>>>
export type SingleCommands = {
[Item in keyof AllCommands]: AllCommands[Item] extends (...args: any[]) => any
? (...args: Parameters<AllCommands[Item]>) => boolean
: never
}
export type ChainedCommands = {
[Item in keyof AllCommands]: AllCommands[Item] extends (...args: any[]) => any
? (...args: Parameters<AllCommands[Item]>) => ChainedCommands
: never
} & {
run: () => boolean
}
export type CanCommands = SingleCommands & { chain: () => ChainedCommands }

View File

@@ -0,0 +1,19 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0-alpha.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-blockquote@1.0.0-alpha.1...@tiptap/extension-blockquote@1.0.0-alpha.2) (2020-11-16)
**Note:** Version bump only for package @tiptap/extension-blockquote
# 1.0.0-alpha.1 (2020-11-16)
### Reverts
* Revert "use global namespace" ([0c9ce26](https://github.com/ueberdosis/tiptap-next/commit/0c9ce26c02c07d88a757c01b0a9d7f9e2b0b7502))

View File

@@ -1,8 +1,11 @@
{ {
"name": "@tiptap/extension-blockquote", "name": "@tiptap/extension-blockquote",
"version": "1.0.0", "version": "1.0.0-alpha.2",
"homepage": "https://tiptap.dev", "homepage": "https://tiptap.dev",
"keywords": ["tiptap", "tiptap extension"], "keywords": [
"tiptap",
"tiptap extension"
],
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
@@ -12,13 +15,13 @@
"umd": "dist/tiptap-extension-blockquote.umd.js", "umd": "dist/tiptap-extension-blockquote.umd.js",
"module": "dist/tiptap-extension-blockquote.esm.js", "module": "dist/tiptap-extension-blockquote.esm.js",
"unpkg": "dist/tiptap-extension-blockquote.bundle.umd.min.js", "unpkg": "dist/tiptap-extension-blockquote.bundle.umd.min.js",
"types": "dist/extension-blockquote/src/index.d.ts", "types": "dist/packages/extension-blockquote/src/index.d.ts",
"files": [ "files": [
"src", "src",
"dist" "dist"
], ],
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "2.x" "@tiptap/core": "2.0.0-alpha.3"
}, },
"dependencies": { "dependencies": {
"prosemirror-inputrules": "^1.1.3" "prosemirror-inputrules": "^1.1.3"

View File

@@ -0,0 +1,19 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0-alpha.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-bold@1.0.0-alpha.1...@tiptap/extension-bold@1.0.0-alpha.2) (2020-11-16)
**Note:** Version bump only for package @tiptap/extension-bold
# 1.0.0-alpha.1 (2020-11-16)
### Reverts
* Revert "use global namespace" ([0c9ce26](https://github.com/ueberdosis/tiptap-next/commit/0c9ce26c02c07d88a757c01b0a9d7f9e2b0b7502))

View File

@@ -1,8 +1,11 @@
{ {
"name": "@tiptap/extension-bold", "name": "@tiptap/extension-bold",
"version": "1.0.0", "version": "1.0.0-alpha.2",
"homepage": "https://tiptap.dev", "homepage": "https://tiptap.dev",
"keywords": ["tiptap", "tiptap extension"], "keywords": [
"tiptap",
"tiptap extension"
],
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
@@ -12,12 +15,12 @@
"umd": "dist/tiptap-extension-bold.umd.js", "umd": "dist/tiptap-extension-bold.umd.js",
"module": "dist/tiptap-extension-bold.esm.js", "module": "dist/tiptap-extension-bold.esm.js",
"unpkg": "dist/tiptap-extension-bold.bundle.umd.min.js", "unpkg": "dist/tiptap-extension-bold.bundle.umd.min.js",
"types": "dist/extension-bold/src/index.d.ts", "types": "dist/packages/extension-bold/src/index.d.ts",
"files": [ "files": [
"src", "src",
"dist" "dist"
], ],
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "2.x" "@tiptap/core": "2.0.0-alpha.3"
} }
} }

View File

@@ -0,0 +1,19 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0-alpha.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-bullet-list@1.0.0-alpha.1...@tiptap/extension-bullet-list@1.0.0-alpha.2) (2020-11-16)
**Note:** Version bump only for package @tiptap/extension-bullet-list
# 1.0.0-alpha.1 (2020-11-16)
### Reverts
* Revert "use global namespace" ([0c9ce26](https://github.com/ueberdosis/tiptap-next/commit/0c9ce26c02c07d88a757c01b0a9d7f9e2b0b7502))

View File

@@ -1,8 +1,11 @@
{ {
"name": "@tiptap/extension-bullet-list", "name": "@tiptap/extension-bullet-list",
"version": "1.0.0", "version": "1.0.0-alpha.2",
"homepage": "https://tiptap.dev", "homepage": "https://tiptap.dev",
"keywords": ["tiptap", "tiptap extension"], "keywords": [
"tiptap",
"tiptap extension"
],
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
@@ -12,13 +15,13 @@
"umd": "dist/tiptap-extension-bullet-list.umd.js", "umd": "dist/tiptap-extension-bullet-list.umd.js",
"module": "dist/tiptap-extension-bullet-list.esm.js", "module": "dist/tiptap-extension-bullet-list.esm.js",
"unpkg": "dist/tiptap-extension-bullet-list.bundle.umd.min.js", "unpkg": "dist/tiptap-extension-bullet-list.bundle.umd.min.js",
"types": "dist/extension-bullet-list/src/index.d.ts", "types": "dist/packages/extension-bullet-list/src/index.d.ts",
"files": [ "files": [
"src", "src",
"dist" "dist"
], ],
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "2.x" "@tiptap/core": "2.0.0-alpha.3"
}, },
"dependencies": { "dependencies": {
"prosemirror-inputrules": "^1.1.3" "prosemirror-inputrules": "^1.1.3"

View File

@@ -0,0 +1,19 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0-alpha.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-code-block@1.0.0-alpha.1...@tiptap/extension-code-block@1.0.0-alpha.2) (2020-11-16)
**Note:** Version bump only for package @tiptap/extension-code-block
# 1.0.0-alpha.1 (2020-11-16)
### Reverts
* Revert "use global namespace" ([0c9ce26](https://github.com/ueberdosis/tiptap-next/commit/0c9ce26c02c07d88a757c01b0a9d7f9e2b0b7502))

View File

@@ -1,8 +1,11 @@
{ {
"name": "@tiptap/extension-code-block", "name": "@tiptap/extension-code-block",
"version": "1.0.0", "version": "1.0.0-alpha.2",
"homepage": "https://tiptap.dev", "homepage": "https://tiptap.dev",
"keywords": ["tiptap", "tiptap extension"], "keywords": [
"tiptap",
"tiptap extension"
],
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
@@ -12,13 +15,13 @@
"umd": "dist/tiptap-extension-code-block.umd.js", "umd": "dist/tiptap-extension-code-block.umd.js",
"module": "dist/tiptap-extension-code-block.esm.js", "module": "dist/tiptap-extension-code-block.esm.js",
"unpkg": "dist/tiptap-extension-code-block.bundle.umd.min.js", "unpkg": "dist/tiptap-extension-code-block.bundle.umd.min.js",
"types": "dist/extension-code-block/src/index.d.ts", "types": "dist/packages/extension-code-block/src/index.d.ts",
"files": [ "files": [
"src", "src",
"dist" "dist"
], ],
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "2.x" "@tiptap/core": "2.0.0-alpha.3"
}, },
"dependencies": { "dependencies": {
"prosemirror-inputrules": "^1.1.3" "prosemirror-inputrules": "^1.1.3"

View File

@@ -0,0 +1,19 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0-alpha.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-code@1.0.0-alpha.1...@tiptap/extension-code@1.0.0-alpha.2) (2020-11-16)
**Note:** Version bump only for package @tiptap/extension-code
# 1.0.0-alpha.1 (2020-11-16)
### Reverts
* Revert "use global namespace" ([0c9ce26](https://github.com/ueberdosis/tiptap-next/commit/0c9ce26c02c07d88a757c01b0a9d7f9e2b0b7502))

View File

@@ -1,8 +1,11 @@
{ {
"name": "@tiptap/extension-code", "name": "@tiptap/extension-code",
"version": "1.0.0", "version": "1.0.0-alpha.2",
"homepage": "https://tiptap.dev", "homepage": "https://tiptap.dev",
"keywords": ["tiptap", "tiptap extension"], "keywords": [
"tiptap",
"tiptap extension"
],
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
@@ -12,12 +15,12 @@
"umd": "dist/tiptap-extension-code.umd.js", "umd": "dist/tiptap-extension-code.umd.js",
"module": "dist/tiptap-extension-code.esm.js", "module": "dist/tiptap-extension-code.esm.js",
"unpkg": "dist/tiptap-extension-code.bundle.umd.min.js", "unpkg": "dist/tiptap-extension-code.bundle.umd.min.js",
"types": "dist/extension-code/src/index.d.ts", "types": "dist/packages/extension-code/src/index.d.ts",
"files": [ "files": [
"src", "src",
"dist" "dist"
], ],
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "2.x" "@tiptap/core": "2.0.0-alpha.3"
} }
} }

View File

@@ -0,0 +1,19 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0-alpha.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-collaboration-cursor@1.0.0-alpha.1...@tiptap/extension-collaboration-cursor@1.0.0-alpha.2) (2020-11-16)
**Note:** Version bump only for package @tiptap/extension-collaboration-cursor
# 1.0.0-alpha.1 (2020-11-16)
### Reverts
* Revert "use global namespace" ([0c9ce26](https://github.com/ueberdosis/tiptap-next/commit/0c9ce26c02c07d88a757c01b0a9d7f9e2b0b7502))

View File

@@ -1,8 +1,11 @@
{ {
"name": "@tiptap/extension-collaboration-cursor", "name": "@tiptap/extension-collaboration-cursor",
"version": "1.0.0", "version": "1.0.0-alpha.2",
"homepage": "https://tiptap.dev", "homepage": "https://tiptap.dev",
"keywords": ["tiptap", "tiptap extension"], "keywords": [
"tiptap",
"tiptap extension"
],
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
@@ -12,13 +15,13 @@
"umd": "dist/tiptap-extension-collaboration-cursor.umd.js", "umd": "dist/tiptap-extension-collaboration-cursor.umd.js",
"module": "dist/tiptap-extension-collaboration-cursor.esm.js", "module": "dist/tiptap-extension-collaboration-cursor.esm.js",
"unpkg": "dist/tiptap-extension-collaboration-cursor.bundle.umd.min.js", "unpkg": "dist/tiptap-extension-collaboration-cursor.bundle.umd.min.js",
"types": "dist/extension-collaboration-cursor/src/index.d.ts", "types": "dist/packages/extension-collaboration-cursor/src/index.d.ts",
"files": [ "files": [
"src", "src",
"dist" "dist"
], ],
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "2.x" "@tiptap/core": "2.0.0-alpha.3"
}, },
"dependencies": { "dependencies": {
"y-prosemirror": "^1.0.0" "y-prosemirror": "^1.0.0"

View File

@@ -0,0 +1,16 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0-alpha.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-collaboration@1.0.0-alpha.1...@tiptap/extension-collaboration@1.0.0-alpha.2) (2020-11-16)
**Note:** Version bump only for package @tiptap/extension-collaboration
# 1.0.0-alpha.1 (2020-11-16)
**Note:** Version bump only for package @tiptap/extension-collaboration

View File

@@ -1,8 +1,11 @@
{ {
"name": "@tiptap/extension-collaboration", "name": "@tiptap/extension-collaboration",
"version": "1.0.0", "version": "1.0.0-alpha.2",
"homepage": "https://tiptap.dev", "homepage": "https://tiptap.dev",
"keywords": ["tiptap", "tiptap extension"], "keywords": [
"tiptap",
"tiptap extension"
],
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
@@ -12,13 +15,13 @@
"umd": "dist/tiptap-extension-collaboration.umd.js", "umd": "dist/tiptap-extension-collaboration.umd.js",
"module": "dist/tiptap-extension-collaboration.esm.js", "module": "dist/tiptap-extension-collaboration.esm.js",
"unpkg": "dist/tiptap-extension-collaboration.bundle.umd.min.js", "unpkg": "dist/tiptap-extension-collaboration.bundle.umd.min.js",
"types": "dist/extension-collaboration/src/index.d.ts", "types": "dist/packages/extension-collaboration/src/index.d.ts",
"files": [ "files": [
"src", "src",
"dist" "dist"
], ],
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "2.x" "@tiptap/core": "2.0.0-alpha.3"
}, },
"dependencies": { "dependencies": {
"y-prosemirror": "^1.0.0" "y-prosemirror": "^1.0.0"

View File

@@ -0,0 +1,19 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0-alpha.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-document@1.0.0-alpha.1...@tiptap/extension-document@1.0.0-alpha.2) (2020-11-16)
**Note:** Version bump only for package @tiptap/extension-document
# 1.0.0-alpha.1 (2020-11-16)
### Reverts
* Revert "use global namespace" ([0c9ce26](https://github.com/ueberdosis/tiptap-next/commit/0c9ce26c02c07d88a757c01b0a9d7f9e2b0b7502))

View File

@@ -1,8 +1,11 @@
{ {
"name": "@tiptap/extension-document", "name": "@tiptap/extension-document",
"version": "1.0.0", "version": "1.0.0-alpha.2",
"homepage": "https://tiptap.dev", "homepage": "https://tiptap.dev",
"keywords": ["tiptap", "tiptap extension"], "keywords": [
"tiptap",
"tiptap extension"
],
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
@@ -12,12 +15,12 @@
"umd": "dist/tiptap-extension-document.umd.js", "umd": "dist/tiptap-extension-document.umd.js",
"module": "dist/tiptap-extension-document.esm.js", "module": "dist/tiptap-extension-document.esm.js",
"unpkg": "dist/tiptap-extension-document.bundle.umd.min.js", "unpkg": "dist/tiptap-extension-document.bundle.umd.min.js",
"types": "dist/extension-document/src/index.d.ts", "types": "dist/packages/extension-document/src/index.d.ts",
"files": [ "files": [
"src", "src",
"dist" "dist"
], ],
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "2.x" "@tiptap/core": "2.0.0-alpha.3"
} }
} }

View File

@@ -0,0 +1,19 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0-alpha.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-dropcursor@1.0.0-alpha.1...@tiptap/extension-dropcursor@1.0.0-alpha.2) (2020-11-16)
**Note:** Version bump only for package @tiptap/extension-dropcursor
# 1.0.0-alpha.1 (2020-11-16)
### Reverts
* Revert "use global namespace" ([0c9ce26](https://github.com/ueberdosis/tiptap-next/commit/0c9ce26c02c07d88a757c01b0a9d7f9e2b0b7502))

View File

@@ -1,8 +1,11 @@
{ {
"name": "@tiptap/extension-dropcursor", "name": "@tiptap/extension-dropcursor",
"version": "1.0.0", "version": "1.0.0-alpha.2",
"homepage": "https://tiptap.dev", "homepage": "https://tiptap.dev",
"keywords": ["tiptap", "tiptap extension"], "keywords": [
"tiptap",
"tiptap extension"
],
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
@@ -12,13 +15,13 @@
"umd": "dist/tiptap-extension-dropcursor.umd.js", "umd": "dist/tiptap-extension-dropcursor.umd.js",
"module": "dist/tiptap-extension-dropcursor.esm.js", "module": "dist/tiptap-extension-dropcursor.esm.js",
"unpkg": "dist/tiptap-extension-dropcursor.bundle.umd.min.js", "unpkg": "dist/tiptap-extension-dropcursor.bundle.umd.min.js",
"types": "dist/extension-dropcursor/src/index.d.ts", "types": "dist/packages/extension-dropcursor/src/index.d.ts",
"files": [ "files": [
"src", "src",
"dist" "dist"
], ],
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "2.x" "@tiptap/core": "2.0.0-alpha.3"
}, },
"dependencies": { "dependencies": {
"@types/prosemirror-dropcursor": "^1.0.0", "@types/prosemirror-dropcursor": "^1.0.0",

View File

@@ -0,0 +1,19 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0-alpha.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-focus@1.0.0-alpha.1...@tiptap/extension-focus@1.0.0-alpha.2) (2020-11-16)
**Note:** Version bump only for package @tiptap/extension-focus
# 1.0.0-alpha.1 (2020-11-16)
### Reverts
* Revert "use global namespace" ([0c9ce26](https://github.com/ueberdosis/tiptap-next/commit/0c9ce26c02c07d88a757c01b0a9d7f9e2b0b7502))

View File

@@ -1,8 +1,11 @@
{ {
"name": "@tiptap/extension-focus", "name": "@tiptap/extension-focus",
"version": "1.0.0", "version": "1.0.0-alpha.2",
"homepage": "https://tiptap.dev", "homepage": "https://tiptap.dev",
"keywords": ["tiptap", "tiptap extension"], "keywords": [
"tiptap",
"tiptap extension"
],
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
@@ -12,13 +15,13 @@
"umd": "dist/tiptap-extension-focus.umd.js", "umd": "dist/tiptap-extension-focus.umd.js",
"module": "dist/tiptap-extension-focus.esm.js", "module": "dist/tiptap-extension-focus.esm.js",
"unpkg": "dist/tiptap-extension-focus.bundle.umd.min.js", "unpkg": "dist/tiptap-extension-focus.bundle.umd.min.js",
"types": "dist/extension-focus/src/index.d.ts", "types": "dist/packages/extension-focus/src/index.d.ts",
"files": [ "files": [
"src", "src",
"dist" "dist"
], ],
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "2.x" "@tiptap/core": "2.0.0-alpha.3"
}, },
"dependencies": { "dependencies": {
"prosemirror-state": "^1.3.3", "prosemirror-state": "^1.3.3",

View File

@@ -0,0 +1,19 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0-alpha.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-font-family@1.0.0-alpha.1...@tiptap/extension-font-family@1.0.0-alpha.2) (2020-11-16)
**Note:** Version bump only for package @tiptap/extension-font-family
# 1.0.0-alpha.1 (2020-11-16)
### Reverts
* Revert "use global namespace" ([0c9ce26](https://github.com/ueberdosis/tiptap-next/commit/0c9ce26c02c07d88a757c01b0a9d7f9e2b0b7502))

View File

@@ -1,8 +1,11 @@
{ {
"name": "@tiptap/extension-font-family", "name": "@tiptap/extension-font-family",
"version": "1.0.0", "version": "1.0.0-alpha.2",
"homepage": "https://tiptap.dev", "homepage": "https://tiptap.dev",
"keywords": ["tiptap", "tiptap extension"], "keywords": [
"tiptap",
"tiptap extension"
],
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
@@ -12,13 +15,13 @@
"umd": "dist/tiptap-extension-font-family.umd.js", "umd": "dist/tiptap-extension-font-family.umd.js",
"module": "dist/tiptap-extension-font-family.esm.js", "module": "dist/tiptap-extension-font-family.esm.js",
"unpkg": "dist/tiptap-extension-font-family.bundle.umd.min.js", "unpkg": "dist/tiptap-extension-font-family.bundle.umd.min.js",
"types": "dist/extension-font-family/src/index.d.ts", "types": "dist/packages/extension-font-family/src/index.d.ts",
"files": [ "files": [
"src", "src",
"dist" "dist"
], ],
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "2.x", "@tiptap/core": "2.0.0-alpha.3",
"@tiptap/extension-text-style": "2.x" "@tiptap/extension-text-style": "2.x"
} }
} }

View File

@@ -0,0 +1,19 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0-alpha.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-gapcursor@1.0.0-alpha.1...@tiptap/extension-gapcursor@1.0.0-alpha.2) (2020-11-16)
**Note:** Version bump only for package @tiptap/extension-gapcursor
# 1.0.0-alpha.1 (2020-11-16)
### Reverts
* Revert "use global namespace" ([0c9ce26](https://github.com/ueberdosis/tiptap-next/commit/0c9ce26c02c07d88a757c01b0a9d7f9e2b0b7502))

View File

@@ -1,8 +1,11 @@
{ {
"name": "@tiptap/extension-gapcursor", "name": "@tiptap/extension-gapcursor",
"version": "1.0.0", "version": "1.0.0-alpha.2",
"homepage": "https://tiptap.dev", "homepage": "https://tiptap.dev",
"keywords": ["tiptap", "tiptap extension"], "keywords": [
"tiptap",
"tiptap extension"
],
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
@@ -12,13 +15,13 @@
"umd": "dist/tiptap-extension-gapcursor.umd.js", "umd": "dist/tiptap-extension-gapcursor.umd.js",
"module": "dist/tiptap-extension-gapcursor.esm.js", "module": "dist/tiptap-extension-gapcursor.esm.js",
"unpkg": "dist/tiptap-extension-gapcursor.bundle.umd.min.js", "unpkg": "dist/tiptap-extension-gapcursor.bundle.umd.min.js",
"types": "dist/extension-gapcursor/src/index.d.ts", "types": "dist/packages/extension-gapcursor/src/index.d.ts",
"files": [ "files": [
"src", "src",
"dist" "dist"
], ],
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "2.x" "@tiptap/core": "2.0.0-alpha.3"
}, },
"dependencies": { "dependencies": {
"@types/prosemirror-gapcursor": "^1.0.1", "@types/prosemirror-gapcursor": "^1.0.1",

View File

@@ -0,0 +1,19 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0-alpha.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-hard-break@1.0.0-alpha.1...@tiptap/extension-hard-break@1.0.0-alpha.2) (2020-11-16)
**Note:** Version bump only for package @tiptap/extension-hard-break
# 1.0.0-alpha.1 (2020-11-16)
### Reverts
* Revert "use global namespace" ([0c9ce26](https://github.com/ueberdosis/tiptap-next/commit/0c9ce26c02c07d88a757c01b0a9d7f9e2b0b7502))

View File

@@ -1,8 +1,11 @@
{ {
"name": "@tiptap/extension-hard-break", "name": "@tiptap/extension-hard-break",
"version": "1.0.0", "version": "1.0.0-alpha.2",
"homepage": "https://tiptap.dev", "homepage": "https://tiptap.dev",
"keywords": ["tiptap", "tiptap extension"], "keywords": [
"tiptap",
"tiptap extension"
],
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
@@ -12,13 +15,13 @@
"umd": "dist/tiptap-extension-hard-break.umd.js", "umd": "dist/tiptap-extension-hard-break.umd.js",
"module": "dist/tiptap-extension-hard-break.esm.js", "module": "dist/tiptap-extension-hard-break.esm.js",
"unpkg": "dist/tiptap-extension-hard-break.bundle.umd.min.js", "unpkg": "dist/tiptap-extension-hard-break.bundle.umd.min.js",
"types": "dist/extension-hard-break/src/index.d.ts", "types": "dist/packages/extension-hard-break/src/index.d.ts",
"files": [ "files": [
"src", "src",
"dist" "dist"
], ],
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "2.x", "@tiptap/core": "2.0.0-alpha.3",
"prosemirror-commands": "^1.1.3" "prosemirror-commands": "^1.1.3"
} }
} }

View File

@@ -0,0 +1,19 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0-alpha.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-heading@1.0.0-alpha.1...@tiptap/extension-heading@1.0.0-alpha.2) (2020-11-16)
**Note:** Version bump only for package @tiptap/extension-heading
# 1.0.0-alpha.1 (2020-11-16)
### Reverts
* Revert "use global namespace" ([0c9ce26](https://github.com/ueberdosis/tiptap-next/commit/0c9ce26c02c07d88a757c01b0a9d7f9e2b0b7502))

View File

@@ -1,8 +1,11 @@
{ {
"name": "@tiptap/extension-heading", "name": "@tiptap/extension-heading",
"version": "1.0.0", "version": "1.0.0-alpha.2",
"homepage": "https://tiptap.dev", "homepage": "https://tiptap.dev",
"keywords": ["tiptap", "tiptap extension"], "keywords": [
"tiptap",
"tiptap extension"
],
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
@@ -12,13 +15,13 @@
"umd": "dist/tiptap-extension-heading.umd.js", "umd": "dist/tiptap-extension-heading.umd.js",
"module": "dist/tiptap-extension-heading.esm.js", "module": "dist/tiptap-extension-heading.esm.js",
"unpkg": "dist/tiptap-extension-heading.bundle.umd.min.js", "unpkg": "dist/tiptap-extension-heading.bundle.umd.min.js",
"types": "dist/extension-heading/src/index.d.ts", "types": "dist/packages/extension-heading/src/index.d.ts",
"files": [ "files": [
"src", "src",
"dist" "dist"
], ],
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "2.x" "@tiptap/core": "2.0.0-alpha.3"
}, },
"dependencies": { "dependencies": {
"@types/prosemirror-inputrules": "^1.0.3", "@types/prosemirror-inputrules": "^1.0.3",

View File

@@ -0,0 +1,19 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0-alpha.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-highlight@1.0.0-alpha.1...@tiptap/extension-highlight@1.0.0-alpha.2) (2020-11-16)
**Note:** Version bump only for package @tiptap/extension-highlight
# 1.0.0-alpha.1 (2020-11-16)
### Reverts
* Revert "use global namespace" ([0c9ce26](https://github.com/ueberdosis/tiptap-next/commit/0c9ce26c02c07d88a757c01b0a9d7f9e2b0b7502))

View File

@@ -1,8 +1,11 @@
{ {
"name": "@tiptap/extension-highlight", "name": "@tiptap/extension-highlight",
"version": "1.0.0", "version": "1.0.0-alpha.2",
"homepage": "https://tiptap.dev", "homepage": "https://tiptap.dev",
"keywords": ["tiptap", "tiptap extension"], "keywords": [
"tiptap",
"tiptap extension"
],
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
@@ -12,12 +15,12 @@
"umd": "dist/tiptap-extension-highlight.umd.js", "umd": "dist/tiptap-extension-highlight.umd.js",
"module": "dist/tiptap-extension-highlight.esm.js", "module": "dist/tiptap-extension-highlight.esm.js",
"unpkg": "dist/tiptap-extension-highlight.bundle.umd.min.js", "unpkg": "dist/tiptap-extension-highlight.bundle.umd.min.js",
"types": "dist/extension-highlight/src/index.d.ts", "types": "dist/packages/extension-highlight/src/index.d.ts",
"files": [ "files": [
"src", "src",
"dist" "dist"
], ],
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "2.x" "@tiptap/core": "2.0.0-alpha.3"
} }
} }

View File

@@ -0,0 +1,19 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0-alpha.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-history@1.0.0-alpha.1...@tiptap/extension-history@1.0.0-alpha.2) (2020-11-16)
**Note:** Version bump only for package @tiptap/extension-history
# 1.0.0-alpha.1 (2020-11-16)
### Reverts
* Revert "use global namespace" ([0c9ce26](https://github.com/ueberdosis/tiptap-next/commit/0c9ce26c02c07d88a757c01b0a9d7f9e2b0b7502))

View File

@@ -1,8 +1,11 @@
{ {
"name": "@tiptap/extension-history", "name": "@tiptap/extension-history",
"version": "1.0.0", "version": "1.0.0-alpha.2",
"homepage": "https://tiptap.dev", "homepage": "https://tiptap.dev",
"keywords": ["tiptap", "tiptap extension"], "keywords": [
"tiptap",
"tiptap extension"
],
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
@@ -12,13 +15,13 @@
"umd": "dist/tiptap-extension-history.umd.js", "umd": "dist/tiptap-extension-history.umd.js",
"module": "dist/tiptap-extension-history.esm.js", "module": "dist/tiptap-extension-history.esm.js",
"unpkg": "dist/tiptap-extension-history.bundle.umd.min.js", "unpkg": "dist/tiptap-extension-history.bundle.umd.min.js",
"types": "dist/extension-history/src/index.d.ts", "types": "dist/packages/extension-history/src/index.d.ts",
"files": [ "files": [
"src", "src",
"dist" "dist"
], ],
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "2.x" "@tiptap/core": "2.0.0-alpha.3"
}, },
"dependencies": { "dependencies": {
"prosemirror-history": "^1.1.3" "prosemirror-history": "^1.1.3"

View File

@@ -0,0 +1,19 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0-alpha.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-horizontal-rule@1.0.0-alpha.1...@tiptap/extension-horizontal-rule@1.0.0-alpha.2) (2020-11-16)
**Note:** Version bump only for package @tiptap/extension-horizontal-rule
# 1.0.0-alpha.1 (2020-11-16)
### Reverts
* Revert "use global namespace" ([0c9ce26](https://github.com/ueberdosis/tiptap-next/commit/0c9ce26c02c07d88a757c01b0a9d7f9e2b0b7502))

View File

@@ -1,8 +1,11 @@
{ {
"name": "@tiptap/extension-horizontal-rule", "name": "@tiptap/extension-horizontal-rule",
"version": "1.0.0", "version": "1.0.0-alpha.2",
"homepage": "https://tiptap.dev", "homepage": "https://tiptap.dev",
"keywords": ["tiptap", "tiptap extension"], "keywords": [
"tiptap",
"tiptap extension"
],
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
@@ -12,13 +15,13 @@
"umd": "dist/tiptap-extension-horizontal-rule.umd.js", "umd": "dist/tiptap-extension-horizontal-rule.umd.js",
"module": "dist/tiptap-extension-horizontal-rule.esm.js", "module": "dist/tiptap-extension-horizontal-rule.esm.js",
"unpkg": "dist/tiptap-extension-horizontal-rule.bundle.umd.min.js", "unpkg": "dist/tiptap-extension-horizontal-rule.bundle.umd.min.js",
"types": "dist/extension-horizontal-rule/src/index.d.ts", "types": "dist/packages/extension-horizontal-rule/src/index.d.ts",
"files": [ "files": [
"src", "src",
"dist" "dist"
], ],
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "2.x", "@tiptap/core": "2.0.0-alpha.3",
"prosemirror-commands": "^1.1.3" "prosemirror-commands": "^1.1.3"
} }
} }

View File

@@ -0,0 +1,19 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0-alpha.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-image@1.0.0-alpha.1...@tiptap/extension-image@1.0.0-alpha.2) (2020-11-16)
**Note:** Version bump only for package @tiptap/extension-image
# 1.0.0-alpha.1 (2020-11-16)
### Reverts
* Revert "use global namespace" ([0c9ce26](https://github.com/ueberdosis/tiptap-next/commit/0c9ce26c02c07d88a757c01b0a9d7f9e2b0b7502))

View File

@@ -1,8 +1,11 @@
{ {
"name": "@tiptap/extension-image", "name": "@tiptap/extension-image",
"version": "1.0.0", "version": "1.0.0-alpha.2",
"homepage": "https://tiptap.dev", "homepage": "https://tiptap.dev",
"keywords": ["tiptap", "tiptap extension"], "keywords": [
"tiptap",
"tiptap extension"
],
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
@@ -12,12 +15,12 @@
"umd": "dist/tiptap-extension-image.umd.js", "umd": "dist/tiptap-extension-image.umd.js",
"module": "dist/tiptap-extension-image.esm.js", "module": "dist/tiptap-extension-image.esm.js",
"unpkg": "dist/tiptap-extension-image.bundle.umd.min.js", "unpkg": "dist/tiptap-extension-image.bundle.umd.min.js",
"types": "dist/extension-image/src/index.d.ts", "types": "dist/packages/extension-image/src/index.d.ts",
"files": [ "files": [
"src", "src",
"dist" "dist"
], ],
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "2.x" "@tiptap/core": "2.0.0-alpha.3"
} }
} }

View File

@@ -0,0 +1,19 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0-alpha.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-italic@1.0.0-alpha.1...@tiptap/extension-italic@1.0.0-alpha.2) (2020-11-16)
**Note:** Version bump only for package @tiptap/extension-italic
# 1.0.0-alpha.1 (2020-11-16)
### Reverts
* Revert "use global namespace" ([0c9ce26](https://github.com/ueberdosis/tiptap-next/commit/0c9ce26c02c07d88a757c01b0a9d7f9e2b0b7502))

View File

@@ -1,8 +1,11 @@
{ {
"name": "@tiptap/extension-italic", "name": "@tiptap/extension-italic",
"version": "1.0.0", "version": "1.0.0-alpha.2",
"homepage": "https://tiptap.dev", "homepage": "https://tiptap.dev",
"keywords": ["tiptap", "tiptap extension"], "keywords": [
"tiptap",
"tiptap extension"
],
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
@@ -12,12 +15,12 @@
"umd": "dist/tiptap-extension-italic.umd.js", "umd": "dist/tiptap-extension-italic.umd.js",
"module": "dist/tiptap-extension-italic.esm.js", "module": "dist/tiptap-extension-italic.esm.js",
"unpkg": "dist/tiptap-extension-italic.bundle.umd.min.js", "unpkg": "dist/tiptap-extension-italic.bundle.umd.min.js",
"types": "dist/extension-italic/src/index.d.ts", "types": "dist/packages/extension-italic/src/index.d.ts",
"files": [ "files": [
"src", "src",
"dist" "dist"
], ],
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "2.x" "@tiptap/core": "2.0.0-alpha.3"
} }
} }

View File

@@ -0,0 +1,19 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0-alpha.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-link@1.0.0-alpha.1...@tiptap/extension-link@1.0.0-alpha.2) (2020-11-16)
**Note:** Version bump only for package @tiptap/extension-link
# 1.0.0-alpha.1 (2020-11-16)
### Reverts
* Revert "use global namespace" ([0c9ce26](https://github.com/ueberdosis/tiptap-next/commit/0c9ce26c02c07d88a757c01b0a9d7f9e2b0b7502))

View File

@@ -1,8 +1,11 @@
{ {
"name": "@tiptap/extension-link", "name": "@tiptap/extension-link",
"version": "1.0.0", "version": "1.0.0-alpha.2",
"homepage": "https://tiptap.dev", "homepage": "https://tiptap.dev",
"keywords": ["tiptap", "tiptap extension"], "keywords": [
"tiptap",
"tiptap extension"
],
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
@@ -12,13 +15,13 @@
"umd": "dist/tiptap-extension-link.umd.js", "umd": "dist/tiptap-extension-link.umd.js",
"module": "dist/tiptap-extension-link.esm.js", "module": "dist/tiptap-extension-link.esm.js",
"unpkg": "dist/tiptap-extension-link.bundle.umd.min.js", "unpkg": "dist/tiptap-extension-link.bundle.umd.min.js",
"types": "dist/extension-link/src/index.d.ts", "types": "dist/packages/extension-link/src/index.d.ts",
"files": [ "files": [
"src", "src",
"dist" "dist"
], ],
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "2.x" "@tiptap/core": "2.0.0-alpha.3"
}, },
"dependencies": { "dependencies": {
"prosemirror-state": "^1.3.3" "prosemirror-state": "^1.3.3"

View File

@@ -0,0 +1,19 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0-alpha.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-list-item@1.0.0-alpha.1...@tiptap/extension-list-item@1.0.0-alpha.2) (2020-11-16)
**Note:** Version bump only for package @tiptap/extension-list-item
# 1.0.0-alpha.1 (2020-11-16)
### Reverts
* Revert "use global namespace" ([0c9ce26](https://github.com/ueberdosis/tiptap-next/commit/0c9ce26c02c07d88a757c01b0a9d7f9e2b0b7502))

View File

@@ -1,8 +1,11 @@
{ {
"name": "@tiptap/extension-list-item", "name": "@tiptap/extension-list-item",
"version": "1.0.0", "version": "1.0.0-alpha.2",
"homepage": "https://tiptap.dev", "homepage": "https://tiptap.dev",
"keywords": ["tiptap", "tiptap extension"], "keywords": [
"tiptap",
"tiptap extension"
],
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
@@ -12,12 +15,12 @@
"umd": "dist/tiptap-extension-list-item.umd.js", "umd": "dist/tiptap-extension-list-item.umd.js",
"module": "dist/tiptap-extension-list-item.esm.js", "module": "dist/tiptap-extension-list-item.esm.js",
"unpkg": "dist/tiptap-extension-list-item.bundle.umd.min.js", "unpkg": "dist/tiptap-extension-list-item.bundle.umd.min.js",
"types": "dist/extension-list-item/src/index.d.ts", "types": "dist/packages/extension-list-item/src/index.d.ts",
"files": [ "files": [
"src", "src",
"dist" "dist"
], ],
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "2.x" "@tiptap/core": "2.0.0-alpha.3"
} }
} }

View File

@@ -0,0 +1,19 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0-alpha.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-ordered-list@1.0.0-alpha.1...@tiptap/extension-ordered-list@1.0.0-alpha.2) (2020-11-16)
**Note:** Version bump only for package @tiptap/extension-ordered-list
# 1.0.0-alpha.1 (2020-11-16)
### Reverts
* Revert "use global namespace" ([0c9ce26](https://github.com/ueberdosis/tiptap-next/commit/0c9ce26c02c07d88a757c01b0a9d7f9e2b0b7502))

View File

@@ -1,8 +1,11 @@
{ {
"name": "@tiptap/extension-ordered-list", "name": "@tiptap/extension-ordered-list",
"version": "1.0.0", "version": "1.0.0-alpha.2",
"homepage": "https://tiptap.dev", "homepage": "https://tiptap.dev",
"keywords": ["tiptap", "tiptap extension"], "keywords": [
"tiptap",
"tiptap extension"
],
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
@@ -12,13 +15,13 @@
"umd": "dist/tiptap-extension-ordered-list.umd.js", "umd": "dist/tiptap-extension-ordered-list.umd.js",
"module": "dist/tiptap-extension-ordered-list.esm.js", "module": "dist/tiptap-extension-ordered-list.esm.js",
"unpkg": "dist/tiptap-extension-ordered-list.bundle.umd.min.js", "unpkg": "dist/tiptap-extension-ordered-list.bundle.umd.min.js",
"types": "dist/extension-ordered-list/src/index.d.ts", "types": "dist/packages/extension-ordered-list/src/index.d.ts",
"files": [ "files": [
"src", "src",
"dist" "dist"
], ],
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "2.x" "@tiptap/core": "2.0.0-alpha.3"
}, },
"dependencies": { "dependencies": {
"prosemirror-inputrules": "^1.1.3" "prosemirror-inputrules": "^1.1.3"

View File

@@ -0,0 +1,19 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0-alpha.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-paragraph@1.0.0-alpha.1...@tiptap/extension-paragraph@1.0.0-alpha.2) (2020-11-16)
**Note:** Version bump only for package @tiptap/extension-paragraph
# 1.0.0-alpha.1 (2020-11-16)
### Reverts
* Revert "use global namespace" ([0c9ce26](https://github.com/ueberdosis/tiptap-next/commit/0c9ce26c02c07d88a757c01b0a9d7f9e2b0b7502))

View File

@@ -1,8 +1,11 @@
{ {
"name": "@tiptap/extension-paragraph", "name": "@tiptap/extension-paragraph",
"version": "1.0.0", "version": "1.0.0-alpha.2",
"homepage": "https://tiptap.dev", "homepage": "https://tiptap.dev",
"keywords": ["tiptap", "tiptap extension"], "keywords": [
"tiptap",
"tiptap extension"
],
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
@@ -12,12 +15,12 @@
"umd": "dist/tiptap-extension-paragraph.umd.js", "umd": "dist/tiptap-extension-paragraph.umd.js",
"module": "dist/tiptap-extension-paragraph.esm.js", "module": "dist/tiptap-extension-paragraph.esm.js",
"unpkg": "dist/tiptap-extension-paragraph.bundle.umd.min.js", "unpkg": "dist/tiptap-extension-paragraph.bundle.umd.min.js",
"types": "dist/extension-paragraph/src/index.d.ts", "types": "dist/packages/extension-paragraph/src/index.d.ts",
"files": [ "files": [
"src", "src",
"dist" "dist"
], ],
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "2.x" "@tiptap/core": "2.0.0-alpha.3"
} }
} }

View File

@@ -0,0 +1,19 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0-alpha.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-strike@1.0.0-alpha.1...@tiptap/extension-strike@1.0.0-alpha.2) (2020-11-16)
**Note:** Version bump only for package @tiptap/extension-strike
# 1.0.0-alpha.1 (2020-11-16)
### Reverts
* Revert "use global namespace" ([0c9ce26](https://github.com/ueberdosis/tiptap-next/commit/0c9ce26c02c07d88a757c01b0a9d7f9e2b0b7502))

View File

@@ -1,8 +1,11 @@
{ {
"name": "@tiptap/extension-strike", "name": "@tiptap/extension-strike",
"version": "1.0.0", "version": "1.0.0-alpha.2",
"homepage": "https://tiptap.dev", "homepage": "https://tiptap.dev",
"keywords": ["tiptap", "tiptap extension"], "keywords": [
"tiptap",
"tiptap extension"
],
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
@@ -12,12 +15,12 @@
"umd": "dist/tiptap-extension-strike.umd.js", "umd": "dist/tiptap-extension-strike.umd.js",
"module": "dist/tiptap-extension-strike.esm.js", "module": "dist/tiptap-extension-strike.esm.js",
"unpkg": "dist/tiptap-extension-strike.bundle.umd.min.js", "unpkg": "dist/tiptap-extension-strike.bundle.umd.min.js",
"types": "dist/extension-strike/src/index.d.ts", "types": "dist/packages/extension-strike/src/index.d.ts",
"files": [ "files": [
"src", "src",
"dist" "dist"
], ],
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "2.x" "@tiptap/core": "2.0.0-alpha.3"
} }
} }

View File

@@ -0,0 +1,19 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0-alpha.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-task-item@1.0.0-alpha.1...@tiptap/extension-task-item@1.0.0-alpha.2) (2020-11-16)
**Note:** Version bump only for package @tiptap/extension-task-item
# 1.0.0-alpha.1 (2020-11-16)
### Reverts
* Revert "use global namespace" ([0c9ce26](https://github.com/ueberdosis/tiptap-next/commit/0c9ce26c02c07d88a757c01b0a9d7f9e2b0b7502))

View File

@@ -1,8 +1,11 @@
{ {
"name": "@tiptap/extension-task-item", "name": "@tiptap/extension-task-item",
"version": "1.0.0", "version": "1.0.0-alpha.2",
"homepage": "https://tiptap.dev", "homepage": "https://tiptap.dev",
"keywords": ["tiptap", "tiptap extension"], "keywords": [
"tiptap",
"tiptap extension"
],
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
@@ -12,13 +15,13 @@
"umd": "dist/tiptap-extension-task-item.umd.js", "umd": "dist/tiptap-extension-task-item.umd.js",
"module": "dist/tiptap-extension-task-item.esm.js", "module": "dist/tiptap-extension-task-item.esm.js",
"unpkg": "dist/tiptap-extension-task-item.bundle.umd.min.js", "unpkg": "dist/tiptap-extension-task-item.bundle.umd.min.js",
"types": "dist/extension-task-item/src/index.d.ts", "types": "dist/packages/extension-task-item/src/index.d.ts",
"files": [ "files": [
"src", "src",
"dist" "dist"
], ],
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "2.x" "@tiptap/core": "2.0.0-alpha.3"
}, },
"dependencies": { "dependencies": {
"prosemirror-inputrules": "^1.1.3" "prosemirror-inputrules": "^1.1.3"

View File

@@ -0,0 +1,19 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0-alpha.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-task-list@1.0.0-alpha.1...@tiptap/extension-task-list@1.0.0-alpha.2) (2020-11-16)
**Note:** Version bump only for package @tiptap/extension-task-list
# 1.0.0-alpha.1 (2020-11-16)
### Reverts
* Revert "use global namespace" ([0c9ce26](https://github.com/ueberdosis/tiptap-next/commit/0c9ce26c02c07d88a757c01b0a9d7f9e2b0b7502))

View File

@@ -1,8 +1,11 @@
{ {
"name": "@tiptap/extension-task-list", "name": "@tiptap/extension-task-list",
"version": "1.0.0", "version": "1.0.0-alpha.2",
"homepage": "https://tiptap.dev", "homepage": "https://tiptap.dev",
"keywords": ["tiptap", "tiptap extension"], "keywords": [
"tiptap",
"tiptap extension"
],
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
@@ -12,12 +15,12 @@
"umd": "dist/tiptap-extension-task-list.umd.js", "umd": "dist/tiptap-extension-task-list.umd.js",
"module": "dist/tiptap-extension-task-list.esm.js", "module": "dist/tiptap-extension-task-list.esm.js",
"unpkg": "dist/tiptap-extension-task-list.bundle.umd.min.js", "unpkg": "dist/tiptap-extension-task-list.bundle.umd.min.js",
"types": "dist/extension-task-list/src/index.d.ts", "types": "dist/packages/extension-task-list/src/index.d.ts",
"files": [ "files": [
"src", "src",
"dist" "dist"
], ],
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "2.x" "@tiptap/core": "2.0.0-alpha.3"
} }
} }

View File

@@ -0,0 +1,19 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0-alpha.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-text-align@1.0.0-alpha.1...@tiptap/extension-text-align@1.0.0-alpha.2) (2020-11-16)
**Note:** Version bump only for package @tiptap/extension-text-align
# 1.0.0-alpha.1 (2020-11-16)
### Reverts
* Revert "use global namespace" ([0c9ce26](https://github.com/ueberdosis/tiptap-next/commit/0c9ce26c02c07d88a757c01b0a9d7f9e2b0b7502))

View File

@@ -1,8 +1,11 @@
{ {
"name": "@tiptap/extension-text-align", "name": "@tiptap/extension-text-align",
"version": "1.0.0", "version": "1.0.0-alpha.2",
"homepage": "https://tiptap.dev", "homepage": "https://tiptap.dev",
"keywords": ["tiptap", "tiptap extension"], "keywords": [
"tiptap",
"tiptap extension"
],
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
@@ -12,12 +15,12 @@
"umd": "dist/tiptap-extension-text-align.umd.js", "umd": "dist/tiptap-extension-text-align.umd.js",
"module": "dist/tiptap-extension-text-align.esm.js", "module": "dist/tiptap-extension-text-align.esm.js",
"unpkg": "dist/tiptap-extension-text-align.bundle.umd.min.js", "unpkg": "dist/tiptap-extension-text-align.bundle.umd.min.js",
"types": "dist/extension-text-align/src/index.d.ts", "types": "dist/packages/extension-text-align/src/index.d.ts",
"files": [ "files": [
"src", "src",
"dist" "dist"
], ],
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "2.x" "@tiptap/core": "2.0.0-alpha.3"
} }
} }

View File

@@ -0,0 +1,19 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0-alpha.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-text-style@1.0.0-alpha.1...@tiptap/extension-text-style@1.0.0-alpha.2) (2020-11-16)
**Note:** Version bump only for package @tiptap/extension-text-style
# 1.0.0-alpha.1 (2020-11-16)
### Reverts
* Revert "use global namespace" ([0c9ce26](https://github.com/ueberdosis/tiptap-next/commit/0c9ce26c02c07d88a757c01b0a9d7f9e2b0b7502))

View File

@@ -1,8 +1,11 @@
{ {
"name": "@tiptap/extension-text-style", "name": "@tiptap/extension-text-style",
"version": "1.0.0", "version": "1.0.0-alpha.2",
"homepage": "https://tiptap.dev", "homepage": "https://tiptap.dev",
"keywords": ["tiptap", "tiptap extension"], "keywords": [
"tiptap",
"tiptap extension"
],
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
@@ -12,12 +15,12 @@
"umd": "dist/tiptap-extension-text-style.umd.js", "umd": "dist/tiptap-extension-text-style.umd.js",
"module": "dist/tiptap-extension-text-style.esm.js", "module": "dist/tiptap-extension-text-style.esm.js",
"unpkg": "dist/tiptap-extension-text-style.bundle.umd.min.js", "unpkg": "dist/tiptap-extension-text-style.bundle.umd.min.js",
"types": "dist/extension-text-style/src/index.d.ts", "types": "dist/packages/extension-text-style/src/index.d.ts",
"files": [ "files": [
"src", "src",
"dist" "dist"
], ],
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "2.x" "@tiptap/core": "2.0.0-alpha.3"
} }
} }

View File

@@ -0,0 +1,19 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0-alpha.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-text@1.0.0-alpha.1...@tiptap/extension-text@1.0.0-alpha.2) (2020-11-16)
**Note:** Version bump only for package @tiptap/extension-text
# 1.0.0-alpha.1 (2020-11-16)
### Reverts
* Revert "use global namespace" ([0c9ce26](https://github.com/ueberdosis/tiptap-next/commit/0c9ce26c02c07d88a757c01b0a9d7f9e2b0b7502))

View File

@@ -1,8 +1,11 @@
{ {
"name": "@tiptap/extension-text", "name": "@tiptap/extension-text",
"version": "1.0.0", "version": "1.0.0-alpha.2",
"homepage": "https://tiptap.dev", "homepage": "https://tiptap.dev",
"keywords": ["tiptap", "tiptap extension"], "keywords": [
"tiptap",
"tiptap extension"
],
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
@@ -12,12 +15,12 @@
"umd": "dist/tiptap-extension-text.umd.js", "umd": "dist/tiptap-extension-text.umd.js",
"module": "dist/tiptap-extension-text.esm.js", "module": "dist/tiptap-extension-text.esm.js",
"unpkg": "dist/tiptap-extension-text.bundle.umd.min.js", "unpkg": "dist/tiptap-extension-text.bundle.umd.min.js",
"types": "dist/extension-text/src/index.d.ts", "types": "dist/packages/extension-text/src/index.d.ts",
"files": [ "files": [
"src", "src",
"dist" "dist"
], ],
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "2.x" "@tiptap/core": "2.0.0-alpha.3"
} }
} }

View File

@@ -0,0 +1,19 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0-alpha.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-typography@1.0.0-alpha.1...@tiptap/extension-typography@1.0.0-alpha.2) (2020-11-16)
**Note:** Version bump only for package @tiptap/extension-typography
# 1.0.0-alpha.1 (2020-11-16)
### Reverts
* Revert "use global namespace" ([0c9ce26](https://github.com/ueberdosis/tiptap-next/commit/0c9ce26c02c07d88a757c01b0a9d7f9e2b0b7502))

View File

@@ -1,8 +1,11 @@
{ {
"name": "@tiptap/extension-typography", "name": "@tiptap/extension-typography",
"version": "1.0.0", "version": "1.0.0-alpha.2",
"homepage": "https://tiptap.dev", "homepage": "https://tiptap.dev",
"keywords": ["tiptap", "tiptap extension"], "keywords": [
"tiptap",
"tiptap extension"
],
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
@@ -12,13 +15,13 @@
"umd": "dist/tiptap-extension-typography.umd.js", "umd": "dist/tiptap-extension-typography.umd.js",
"module": "dist/tiptap-extension-typography.esm.js", "module": "dist/tiptap-extension-typography.esm.js",
"unpkg": "dist/tiptap-extension-typography.bundle.umd.min.js", "unpkg": "dist/tiptap-extension-typography.bundle.umd.min.js",
"types": "dist/extension-typography/src/index.d.ts", "types": "dist/packages/extension-typography/src/index.d.ts",
"files": [ "files": [
"src", "src",
"dist" "dist"
], ],
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "2.x" "@tiptap/core": "2.0.0-alpha.3"
}, },
"dependencies": { "dependencies": {
"@types/prosemirror-inputrules": "^1.0.3", "@types/prosemirror-inputrules": "^1.0.3",

Some files were not shown because too many files have changed in this diff Show More