mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-27 23:15:15 +08:00
Merge branch 'main' of github.com:ueberdosis/tiptap into develop
This commit is contained in:
commit
80ba352941
17
CHANGELOG.md
17
CHANGELOG.md
@ -3,6 +3,23 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [2.4.0](https://github.com/ueberdosis/tiptap/compare/v2.3.2...v2.4.0) (2024-05-14)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **core:** configure should use the parent of the current instance, to avoid duplication ([#5147](https://github.com/ueberdosis/tiptap/issues/5147)) ([4db463c](https://github.com/ueberdosis/tiptap/commit/4db463c6bbcc3a17ee8eb591bea8e357120ecb35))
|
||||
* fix ts error for BubbleMenu and FloatingMenu in @tiptap/react ([#5126](https://github.com/ueberdosis/tiptap/issues/5126)) ([baff4af](https://github.com/ueberdosis/tiptap/commit/baff4af39e2b8970d7cab99859ece41228643f9d))
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* added jsdocs ([#4356](https://github.com/ueberdosis/tiptap/issues/4356)) ([b941eea](https://github.com/ueberdosis/tiptap/commit/b941eea6daba09d48a5d18ccc1b9a1d84b2249dd))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.3.2](https://github.com/ueberdosis/tiptap/compare/v2.3.1...v2.3.2) (2024-05-08)
|
||||
|
||||
|
||||
|
@ -36,6 +36,11 @@ Before submitting a pull request:
|
||||
- Check the codebase to ensure that your feature doesn't already exist.
|
||||
- Check the pull requests to ensure that another person hasn't already submitted the feature or fix.
|
||||
|
||||
Before commiting:
|
||||
|
||||
- Make sure to run the tests and linter before committing your changes.
|
||||
- Write [conventional commit messages](https://www.conventionalcommits.org/en). You can use `npm run cz` for that.
|
||||
|
||||
## Requirements
|
||||
|
||||
If the project maintainer has any additional requirements, you will find them listed here.
|
||||
|
@ -3,7 +3,7 @@ The Tiptap Editor is a headless, framework-agnostic rich text editor that's cust
|
||||
|
||||
Tiptap Editor is complemented by the collaboration open-source backend [Hocuspocus](https://github.com/ueberdosis/hocuspocus). Both the Editor and Hocuspocus form the foundation of the [Tiptap Suite](https://tiptap.dev/).
|
||||
|
||||
[![Build Status](https://github.com/ueberdosis/tiptap/workflows/build/badge.svg)](https://github.com/ueberdosis/tiptap/actions)
|
||||
[![Build Status](https://github.com/ueberdosis/tiptap/actions/workflows/build.yml/badge.svg)](https://github.com/ueberdosis/tiptap/actions/workflows/build.yml)
|
||||
[![Version](https://img.shields.io/npm/v/@tiptap/core.svg?label=version)](https://www.npmjs.com/package/@tiptap/core)
|
||||
[![Downloads](https://img.shields.io/npm/dm/@tiptap/core.svg)](https://npmcharts.com/compare/@tiptap/core?minimal=true)
|
||||
[![License](https://img.shields.io/npm/l/@tiptap/core.svg)](https://www.npmjs.com/package/@tiptap/core)
|
||||
@ -90,7 +90,7 @@ For help, discussion about best practices, or any other conversation that would
|
||||
</table>
|
||||
|
||||
<table>
|
||||
|
||||
|
||||
</table>
|
||||
|
||||
[iFixit](https://www.ifixit.com/), [ApostropheCMS](https://apostrophecms.com/), [Novadiscovery](http://www.novadiscovery.com/), [Omics Data Automation](https://www.omicsautomation.com), [Flow Mobile](https://www.flowmobile.app/), [DocIQ](https://www.dociq.io/) and [hundreds of awesome inviduals](https://github.com/sponsors/ueberdosis).
|
||||
|
@ -3,6 +3,14 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [2.4.0](https://github.com/ueberdosis/tiptap/compare/v2.3.2...v2.4.0) (2024-05-14)
|
||||
|
||||
**Note:** Version bump only for package tiptap-demos
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.3.2](https://github.com/ueberdosis/tiptap/compare/v2.3.1...v2.3.2) (2024-05-08)
|
||||
|
||||
|
||||
|
4
demos/package-lock.json
generated
4
demos/package-lock.json
generated
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "tiptap-demos",
|
||||
"version": "2.3.2",
|
||||
"version": "2.4.0",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "tiptap-demos",
|
||||
"version": "2.3.2",
|
||||
"version": "2.4.0",
|
||||
"dependencies": {
|
||||
"@hocuspocus/provider": "^2.9.0",
|
||||
"@lexical/react": "^0.11.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "tiptap-demos",
|
||||
"version": "2.3.2",
|
||||
"version": "2.4.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"start": "vite --host",
|
||||
|
@ -58,15 +58,15 @@ context('/src/Marks/Strike/React/', () => {
|
||||
|
||||
it('should strike the selected text when the keyboard shortcut is pressed', () => {
|
||||
cy.get('.tiptap')
|
||||
.trigger('keydown', { ctrlKey: true, shiftKey: true, key: 's' })
|
||||
.trigger('keydown', { modKey: true, shiftKey: true, key: 's' })
|
||||
.find('s')
|
||||
.should('contain', 'Example Text')
|
||||
})
|
||||
|
||||
it('should toggle the selected text striked when the keyboard shortcut is pressed', () => {
|
||||
cy.get('.tiptap')
|
||||
.trigger('keydown', { ctrlKey: true, shiftKey: true, key: 's' })
|
||||
.trigger('keydown', { ctrlKey: true, shiftKey: true, key: 's' })
|
||||
.trigger('keydown', { modKey: true, shiftKey: true, key: 's' })
|
||||
.trigger('keydown', { modKey: true, shiftKey: true, key: 's' })
|
||||
.find('s')
|
||||
.should('not.exist')
|
||||
})
|
||||
|
@ -64,15 +64,15 @@ context('/src/Marks/Strike/Vue/', () => {
|
||||
|
||||
it('should strike the selected text when the keyboard shortcut is pressed', () => {
|
||||
cy.get('.tiptap')
|
||||
.trigger('keydown', { ctrlKey: true, shiftKey: true, key: 's' })
|
||||
.trigger('keydown', { modKey: true, shiftKey: true, key: 's' })
|
||||
.find('s')
|
||||
.should('contain', 'Example Text')
|
||||
})
|
||||
|
||||
it('should toggle the selected text striked when the keyboard shortcut is pressed', () => {
|
||||
cy.get('.tiptap')
|
||||
.trigger('keydown', { ctrlKey: true, shiftKey: true, key: 's' })
|
||||
.trigger('keydown', { ctrlKey: true, shiftKey: true, key: 's' })
|
||||
.trigger('keydown', { modKey: true, shiftKey: true, key: 's' })
|
||||
.trigger('keydown', { modKey: true, shiftKey: true, key: 's' })
|
||||
.find('s')
|
||||
.should('not.exist')
|
||||
})
|
||||
|
@ -10,5 +10,5 @@
|
||||
},
|
||||
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
|
||||
"useNx": true,
|
||||
"version": "2.3.2"
|
||||
"version": "2.4.0"
|
||||
}
|
||||
|
555
package-lock.json
generated
555
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -9,6 +9,7 @@
|
||||
"not IE 11"
|
||||
],
|
||||
"scripts": {
|
||||
"cz": "cz",
|
||||
"start": "npm --prefix ./demos run start",
|
||||
"dev": "npm run start",
|
||||
"lint": "eslint --cache --quiet --no-error-on-unmatched-pattern ./",
|
||||
@ -59,6 +60,7 @@
|
||||
"@typescript-eslint/parser": "^5.10.2",
|
||||
"babel-loader": "^8.2.3",
|
||||
"cypress": "^10.8.0",
|
||||
"cz-conventional-changelog": "^3.3.0",
|
||||
"eslint": "^8.17.0",
|
||||
"eslint-config-airbnb-base": "^15.0.0",
|
||||
"eslint-plugin-cypress": "^2.12.1",
|
||||
@ -79,5 +81,10 @@
|
||||
"typescript": "^4.5.5",
|
||||
"webpack": "^5.68.0"
|
||||
},
|
||||
"name": "tiptap"
|
||||
"name": "tiptap",
|
||||
"config": {
|
||||
"commitizen": {
|
||||
"path": "./node_modules/cz-conventional-changelog"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -3,6 +3,22 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [2.4.0](https://github.com/ueberdosis/tiptap/compare/v2.3.2...v2.4.0) (2024-05-14)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **core:** configure should use the parent of the current instance, to avoid duplication ([#5147](https://github.com/ueberdosis/tiptap/issues/5147)) ([4db463c](https://github.com/ueberdosis/tiptap/commit/4db463c6bbcc3a17ee8eb591bea8e357120ecb35))
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* added jsdocs ([#4356](https://github.com/ueberdosis/tiptap/issues/4356)) ([b941eea](https://github.com/ueberdosis/tiptap/commit/b941eea6daba09d48a5d18ccc1b9a1d84b2249dd))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.3.2](https://github.com/ueberdosis/tiptap/compare/v2.3.1...v2.3.2) (2024-05-08)
|
||||
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/core",
|
||||
"description": "headless rich text editor",
|
||||
"version": "2.3.2",
|
||||
"version": "2.4.0",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -32,7 +32,7 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/pm": "^2.3.2"
|
||||
"@tiptap/pm": "^2.4.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/pm": "^2.0.0"
|
||||
|
@ -457,6 +457,7 @@ export class Extension<Options = any, Storage = any> {
|
||||
// with different calls of `configure`
|
||||
const extension = this.extend()
|
||||
|
||||
extension.parent = this.parent
|
||||
extension.options = mergeDeep(this.options as Record<string, any>, options) as Options
|
||||
|
||||
extension.storage = callOrReturn(
|
||||
|
@ -13,8 +13,8 @@ import { getSchemaTypeByName } from './helpers/getSchemaTypeByName.js'
|
||||
import { isExtensionRulesEnabled } from './helpers/isExtensionRulesEnabled.js'
|
||||
import { splitExtensions } from './helpers/splitExtensions.js'
|
||||
import { Mark, NodeConfig } from './index.js'
|
||||
import { inputRulesPlugin } from './InputRule.js'
|
||||
import { pasteRulesPlugin } from './PasteRule.js'
|
||||
import { InputRule, inputRulesPlugin } from './InputRule.js'
|
||||
import { PasteRule, pasteRulesPlugin } from './PasteRule.js'
|
||||
import { AnyConfig, Extensions, RawCommands } from './types.js'
|
||||
import { callOrReturn } from './utilities/callOrReturn.js'
|
||||
import { findDuplicates } from './utilities/findDuplicates.js'
|
||||
@ -32,89 +32,15 @@ export class ExtensionManager {
|
||||
this.editor = editor
|
||||
this.extensions = ExtensionManager.resolve(extensions)
|
||||
this.schema = getSchemaByResolvedExtensions(this.extensions, editor)
|
||||
|
||||
this.extensions.forEach(extension => {
|
||||
// store extension storage in editor
|
||||
this.editor.extensionStorage[extension.name] = extension.storage
|
||||
|
||||
const context = {
|
||||
name: extension.name,
|
||||
options: extension.options,
|
||||
storage: extension.storage,
|
||||
editor: this.editor,
|
||||
type: getSchemaTypeByName(extension.name, this.schema),
|
||||
}
|
||||
|
||||
if (extension.type === 'mark') {
|
||||
const keepOnSplit = callOrReturn(getExtensionField(extension, 'keepOnSplit', context)) ?? true
|
||||
|
||||
if (keepOnSplit) {
|
||||
this.splittableMarks.push(extension.name)
|
||||
}
|
||||
}
|
||||
|
||||
const onBeforeCreate = getExtensionField<AnyConfig['onBeforeCreate']>(
|
||||
extension,
|
||||
'onBeforeCreate',
|
||||
context,
|
||||
)
|
||||
|
||||
if (onBeforeCreate) {
|
||||
this.editor.on('beforeCreate', onBeforeCreate)
|
||||
}
|
||||
|
||||
const onCreate = getExtensionField<AnyConfig['onCreate']>(extension, 'onCreate', context)
|
||||
|
||||
if (onCreate) {
|
||||
this.editor.on('create', onCreate)
|
||||
}
|
||||
|
||||
const onUpdate = getExtensionField<AnyConfig['onUpdate']>(extension, 'onUpdate', context)
|
||||
|
||||
if (onUpdate) {
|
||||
this.editor.on('update', onUpdate)
|
||||
}
|
||||
|
||||
const onSelectionUpdate = getExtensionField<AnyConfig['onSelectionUpdate']>(
|
||||
extension,
|
||||
'onSelectionUpdate',
|
||||
context,
|
||||
)
|
||||
|
||||
if (onSelectionUpdate) {
|
||||
this.editor.on('selectionUpdate', onSelectionUpdate)
|
||||
}
|
||||
|
||||
const onTransaction = getExtensionField<AnyConfig['onTransaction']>(
|
||||
extension,
|
||||
'onTransaction',
|
||||
context,
|
||||
)
|
||||
|
||||
if (onTransaction) {
|
||||
this.editor.on('transaction', onTransaction)
|
||||
}
|
||||
|
||||
const onFocus = getExtensionField<AnyConfig['onFocus']>(extension, 'onFocus', context)
|
||||
|
||||
if (onFocus) {
|
||||
this.editor.on('focus', onFocus)
|
||||
}
|
||||
|
||||
const onBlur = getExtensionField<AnyConfig['onBlur']>(extension, 'onBlur', context)
|
||||
|
||||
if (onBlur) {
|
||||
this.editor.on('blur', onBlur)
|
||||
}
|
||||
|
||||
const onDestroy = getExtensionField<AnyConfig['onDestroy']>(extension, 'onDestroy', context)
|
||||
|
||||
if (onDestroy) {
|
||||
this.editor.on('destroy', onDestroy)
|
||||
}
|
||||
})
|
||||
this.setupExtensions()
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a flattened and sorted extension list while
|
||||
* also checking for duplicated extensions and warns the user.
|
||||
* @param extensions An array of Tiptap extensions
|
||||
* @returns An flattened and sorted array of Tiptap extensions
|
||||
*/
|
||||
static resolve(extensions: Extensions): Extensions {
|
||||
const resolvedExtensions = ExtensionManager.sort(ExtensionManager.flatten(extensions))
|
||||
const duplicatedNames = findDuplicates(resolvedExtensions.map(extension => extension.name))
|
||||
@ -130,6 +56,11 @@ export class ExtensionManager {
|
||||
return resolvedExtensions
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a flattened array of extensions by traversing the `addExtensions` field.
|
||||
* @param extensions An array of Tiptap extensions
|
||||
* @returns A flattened array of Tiptap extensions
|
||||
*/
|
||||
static flatten(extensions: Extensions): Extensions {
|
||||
return (
|
||||
extensions
|
||||
@ -157,6 +88,11 @@ export class ExtensionManager {
|
||||
)
|
||||
}
|
||||
|
||||
/**
|
||||
* Sort extensions by priority.
|
||||
* @param extensions An array of Tiptap extensions
|
||||
* @returns A sorted array of Tiptap extensions by priority
|
||||
*/
|
||||
static sort(extensions: Extensions): Extensions {
|
||||
const defaultPriority = 100
|
||||
|
||||
@ -176,6 +112,10 @@ export class ExtensionManager {
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all commands from the extensions.
|
||||
* @returns An object with all commands where the key is the command name and the value is the command function
|
||||
*/
|
||||
get commands(): RawCommands {
|
||||
return this.extensions.reduce((commands, extension) => {
|
||||
const context = {
|
||||
@ -203,6 +143,10 @@ export class ExtensionManager {
|
||||
}, {} as RawCommands)
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all registered Prosemirror plugins from the extensions.
|
||||
* @returns An array of Prosemirror plugins
|
||||
*/
|
||||
get plugins(): Plugin[] {
|
||||
const { editor } = this
|
||||
|
||||
@ -213,8 +157,8 @@ export class ExtensionManager {
|
||||
// based on the `priority` option.
|
||||
const extensions = ExtensionManager.sort([...this.extensions].reverse())
|
||||
|
||||
const inputRules: any[] = []
|
||||
const pasteRules: any[] = []
|
||||
const inputRules: InputRule[] = []
|
||||
const pasteRules: PasteRule[] = []
|
||||
|
||||
const allPlugins = extensions
|
||||
.map(extension => {
|
||||
@ -304,10 +248,18 @@ export class ExtensionManager {
|
||||
]
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all attributes from the extensions.
|
||||
* @returns An array of attributes
|
||||
*/
|
||||
get attributes() {
|
||||
return getAttributesFromExtensions(this.extensions)
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all node views from the extensions.
|
||||
* @returns An object with all node views where the key is the node name and the value is the node view function
|
||||
*/
|
||||
get nodeViews() {
|
||||
const { editor } = this
|
||||
const { nodeExtensions } = splitExtensions(this.extensions)
|
||||
@ -358,4 +310,84 @@ export class ExtensionManager {
|
||||
}),
|
||||
)
|
||||
}
|
||||
|
||||
/**
|
||||
* Go through all extensions, create extension storages & setup marks
|
||||
* & bind editor event listener.
|
||||
*/
|
||||
private setupExtensions() {
|
||||
this.extensions.forEach(extension => {
|
||||
// store extension storage in editor
|
||||
this.editor.extensionStorage[extension.name] = extension.storage
|
||||
|
||||
const context = {
|
||||
name: extension.name,
|
||||
options: extension.options,
|
||||
storage: extension.storage,
|
||||
editor: this.editor,
|
||||
type: getSchemaTypeByName(extension.name, this.schema),
|
||||
}
|
||||
|
||||
if (extension.type === 'mark') {
|
||||
const keepOnSplit = callOrReturn(getExtensionField(extension, 'keepOnSplit', context)) ?? true
|
||||
|
||||
if (keepOnSplit) {
|
||||
this.splittableMarks.push(extension.name)
|
||||
}
|
||||
}
|
||||
|
||||
const onBeforeCreate = getExtensionField<AnyConfig['onBeforeCreate']>(
|
||||
extension,
|
||||
'onBeforeCreate',
|
||||
context,
|
||||
)
|
||||
const onCreate = getExtensionField<AnyConfig['onCreate']>(extension, 'onCreate', context)
|
||||
const onUpdate = getExtensionField<AnyConfig['onUpdate']>(extension, 'onUpdate', context)
|
||||
const onSelectionUpdate = getExtensionField<AnyConfig['onSelectionUpdate']>(
|
||||
extension,
|
||||
'onSelectionUpdate',
|
||||
context,
|
||||
)
|
||||
const onTransaction = getExtensionField<AnyConfig['onTransaction']>(
|
||||
extension,
|
||||
'onTransaction',
|
||||
context,
|
||||
)
|
||||
const onFocus = getExtensionField<AnyConfig['onFocus']>(extension, 'onFocus', context)
|
||||
const onBlur = getExtensionField<AnyConfig['onBlur']>(extension, 'onBlur', context)
|
||||
const onDestroy = getExtensionField<AnyConfig['onDestroy']>(extension, 'onDestroy', context)
|
||||
|
||||
if (onBeforeCreate) {
|
||||
this.editor.on('beforeCreate', onBeforeCreate)
|
||||
}
|
||||
|
||||
if (onCreate) {
|
||||
this.editor.on('create', onCreate)
|
||||
}
|
||||
|
||||
if (onUpdate) {
|
||||
this.editor.on('update', onUpdate)
|
||||
}
|
||||
|
||||
if (onSelectionUpdate) {
|
||||
this.editor.on('selectionUpdate', onSelectionUpdate)
|
||||
}
|
||||
|
||||
if (onTransaction) {
|
||||
this.editor.on('transaction', onTransaction)
|
||||
}
|
||||
|
||||
if (onFocus) {
|
||||
this.editor.on('focus', onFocus)
|
||||
}
|
||||
|
||||
if (onBlur) {
|
||||
this.editor.on('blur', onBlur)
|
||||
}
|
||||
|
||||
if (onDestroy) {
|
||||
this.editor.on('destroy', onDestroy)
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
@ -4,6 +4,9 @@ import { Transform } from '@tiptap/pm/transform'
|
||||
|
||||
/**
|
||||
* Returns a new `Transform` based on all steps of the passed transactions.
|
||||
* @param oldDoc The Prosemirror node to start from
|
||||
* @param transactions The transactions to combine
|
||||
* @returns A new `Transform` with all steps of the passed transactions
|
||||
*/
|
||||
export function combineTransactionSteps(
|
||||
oldDoc: ProseMirrorNode,
|
||||
|
@ -1,5 +1,10 @@
|
||||
import { EditorState, Transaction } from '@tiptap/pm/state'
|
||||
|
||||
/**
|
||||
* Takes a Transaction & Editor State and turns it into a chainable state object
|
||||
* @param config The transaction and state to create the chainable state from
|
||||
* @returns A chainable Editor state object
|
||||
*/
|
||||
export function createChainableState(config: {
|
||||
transaction: Transaction
|
||||
state: EditorState
|
||||
|
@ -3,6 +3,13 @@ import { Node as ProseMirrorNode, ParseOptions, Schema } from '@tiptap/pm/model'
|
||||
import { Content } from '../types.js'
|
||||
import { createNodeFromContent } from './createNodeFromContent.js'
|
||||
|
||||
/**
|
||||
* Create a new Prosemirror document node from content.
|
||||
* @param content The JSON or HTML content to create the document from
|
||||
* @param schema The Prosemirror schema to use for the document
|
||||
* @param parseOptions Options for the parser
|
||||
* @returns The created Prosemirror document node
|
||||
*/
|
||||
export function createDocument(
|
||||
content: Content,
|
||||
schema: Schema,
|
||||
|
@ -14,6 +14,13 @@ export type CreateNodeFromContentOptions = {
|
||||
parseOptions?: ParseOptions
|
||||
}
|
||||
|
||||
/**
|
||||
* Takes a JSON or HTML content and creates a Prosemirror node or fragment from it.
|
||||
* @param content The JSON or HTML content to create the node from
|
||||
* @param schema The Prosemirror schema to use for the node
|
||||
* @param options Options for the parser
|
||||
* @returns The created Prosemirror node or fragment
|
||||
*/
|
||||
export function createNodeFromContent(
|
||||
content: Content,
|
||||
schema: Schema,
|
||||
@ -25,9 +32,15 @@ export function createNodeFromContent(
|
||||
...options,
|
||||
}
|
||||
|
||||
if (typeof content === 'object' && content !== null) {
|
||||
const isJSONContent = typeof content === 'object' && content !== null
|
||||
const isTextContent = typeof content === 'string'
|
||||
|
||||
if (isJSONContent) {
|
||||
try {
|
||||
if (Array.isArray(content) && content.length > 0) {
|
||||
const isArrayContent = Array.isArray(content) && content.length > 0
|
||||
|
||||
// if the JSON Content is an array of nodes, create a fragment for each node
|
||||
if (isArrayContent) {
|
||||
return Fragment.fromArray(content.map(item => schema.nodeFromJSON(item)))
|
||||
}
|
||||
|
||||
@ -39,7 +52,7 @@ export function createNodeFromContent(
|
||||
}
|
||||
}
|
||||
|
||||
if (typeof content === 'string') {
|
||||
if (isTextContent) {
|
||||
const parser = DOMParser.fromSchema(schema)
|
||||
|
||||
return options.slice
|
||||
|
@ -1,5 +1,10 @@
|
||||
import { ContentMatch, NodeType } from '@tiptap/pm/model'
|
||||
|
||||
/**
|
||||
* Gets the default block type at a given match
|
||||
* @param match The content match to get the default block type from
|
||||
* @returns The default block type or null
|
||||
*/
|
||||
export function defaultBlockAt(match: ContentMatch): NodeType | null {
|
||||
for (let i = 0; i < match.edgeCount; i += 1) {
|
||||
const { type } = match.edge(i)
|
||||
|
@ -2,6 +2,12 @@ import { Node as ProseMirrorNode } from '@tiptap/pm/model'
|
||||
|
||||
import { NodeWithPos, Predicate } from '../types.js'
|
||||
|
||||
/**
|
||||
* Find children inside a Prosemirror node that match a predicate.
|
||||
* @param node The Prosemirror node to search in
|
||||
* @param predicate The predicate to match
|
||||
* @returns An array of nodes with their positions
|
||||
*/
|
||||
export function findChildren(node: ProseMirrorNode, predicate: Predicate): NodeWithPos[] {
|
||||
const nodesWithPos: NodeWithPos[] = []
|
||||
|
||||
|
@ -4,6 +4,10 @@ import { NodeWithPos, Predicate, Range } from '../types.js'
|
||||
|
||||
/**
|
||||
* Same as `findChildren` but searches only within a `range`.
|
||||
* @param node The Prosemirror node to search in
|
||||
* @param range The range to search in
|
||||
* @param predicate The predicate to match
|
||||
* @returns An array of nodes with their positions
|
||||
*/
|
||||
export function findChildrenInRange(
|
||||
node: ProseMirrorNode,
|
||||
|
@ -3,6 +3,14 @@ import { Selection } from '@tiptap/pm/state'
|
||||
import { Predicate } from '../types.js'
|
||||
import { findParentNodeClosestToPos } from './findParentNodeClosestToPos.js'
|
||||
|
||||
/**
|
||||
* Finds the closest parent node to the current selection that matches a predicate.
|
||||
* @param predicate The predicate to match
|
||||
* @returns A command that finds the closest parent node to the current selection that matches the predicate
|
||||
* @example ```js
|
||||
* findParentNode(node => node.type.name === 'paragraph')
|
||||
* ```
|
||||
*/
|
||||
export function findParentNode(predicate: Predicate) {
|
||||
return (selection: Selection) => findParentNodeClosestToPos(selection.$from, predicate)
|
||||
}
|
||||
|
@ -2,6 +2,15 @@ import { Node as ProseMirrorNode, ResolvedPos } from '@tiptap/pm/model'
|
||||
|
||||
import { Predicate } from '../types.js'
|
||||
|
||||
/**
|
||||
* Finds the closest parent node to a resolved position that matches a predicate.
|
||||
* @param $pos The resolved position to search from
|
||||
* @param predicate The predicate to match
|
||||
* @returns The closest parent node to the resolved position that matches the predicate
|
||||
* @example ```js
|
||||
* findParentNodeClosestToPos($from, node => node.type.name === 'paragraph')
|
||||
* ```
|
||||
*/
|
||||
export function findParentNodeClosestToPos(
|
||||
$pos: ResolvedPos,
|
||||
predicate: Predicate,
|
||||
|
@ -4,6 +4,12 @@ import { Extensions, JSONContent } from '../types.js'
|
||||
import { getHTMLFromFragment } from './getHTMLFromFragment.js'
|
||||
import { getSchema } from './getSchema.js'
|
||||
|
||||
/**
|
||||
* Generate HTML from a JSONContent
|
||||
* @param doc The JSONContent to generate HTML from
|
||||
* @param extensions The extensions to use for the schema
|
||||
* @returns The generated HTML
|
||||
*/
|
||||
export function generateHTML(doc: JSONContent, extensions: Extensions): string {
|
||||
const schema = getSchema(extensions)
|
||||
const contentNode = Node.fromJSON(schema, doc)
|
||||
|
@ -4,6 +4,12 @@ import { Extensions } from '../types.js'
|
||||
import { elementFromString } from '../utilities/elementFromString.js'
|
||||
import { getSchema } from './getSchema.js'
|
||||
|
||||
/**
|
||||
* Generate JSONContent from HTML
|
||||
* @param html The HTML to generate JSONContent from
|
||||
* @param extensions The extensions to use for the schema
|
||||
* @returns The generated JSONContent
|
||||
*/
|
||||
export function generateJSON(html: string, extensions: Extensions): Record<string, any> {
|
||||
const schema = getSchema(extensions)
|
||||
const dom = elementFromString(html)
|
||||
|
@ -5,6 +5,13 @@ import { getSchema } from './getSchema.js'
|
||||
import { getText } from './getText.js'
|
||||
import { getTextSerializersFromSchema } from './getTextSerializersFromSchema.js'
|
||||
|
||||
/**
|
||||
* Generate raw text from a JSONContent
|
||||
* @param doc The JSONContent to generate text from
|
||||
* @param extensions The extensions to use for the schema
|
||||
* @param options Options for the text generation f.e. blockSeparator or textSerializers
|
||||
* @returns The generated text
|
||||
*/
|
||||
export function generateText(
|
||||
doc: JSONContent,
|
||||
extensions: Extensions,
|
||||
|
@ -5,6 +5,12 @@ import { getMarkAttributes } from './getMarkAttributes.js'
|
||||
import { getNodeAttributes } from './getNodeAttributes.js'
|
||||
import { getSchemaTypeNameByName } from './getSchemaTypeNameByName.js'
|
||||
|
||||
/**
|
||||
* Get node or mark attributes by type or name on the current editor state
|
||||
* @param state The current editor state
|
||||
* @param typeOrName The node or mark type or name
|
||||
* @returns The attributes of the node or mark or an empty object
|
||||
*/
|
||||
export function getAttributes(
|
||||
state: EditorState,
|
||||
typeOrName: string | NodeType | MarkType,
|
||||
|
@ -1,5 +1,12 @@
|
||||
import { AnyExtension, MaybeThisParameterType, RemoveThis } from '../types.js'
|
||||
|
||||
/**
|
||||
* Returns a field from an extension
|
||||
* @param extension The Tiptap extension
|
||||
* @param field The field, for example `renderHTML` or `priority`
|
||||
* @param context The context object that should be passed as `this` into the function
|
||||
* @returns The field value
|
||||
*/
|
||||
export function getExtensionField<T = any>(
|
||||
extension: AnyExtension,
|
||||
field: string,
|
||||
|
@ -23,6 +23,12 @@ function cleanUpSchemaItem<T>(data: T) {
|
||||
) as T
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new Prosemirror schema based on the given extensions.
|
||||
* @param extensions An array of Tiptap extensions
|
||||
* @param editor The editor instance
|
||||
* @returns A Prosemirror schema
|
||||
*/
|
||||
export function getSchemaByResolvedExtensions(extensions: Extensions, editor?: Editor): Schema {
|
||||
const allAttributes = getAttributesFromExtensions(extensions)
|
||||
const { nodeExtensions, markExtensions } = splitExtensions(extensions)
|
||||
|
@ -1,5 +1,11 @@
|
||||
import { MarkType, NodeType, Schema } from '@tiptap/pm/model'
|
||||
|
||||
/**
|
||||
* Tries to get a node or mark type by its name.
|
||||
* @param name The name of the node or mark type
|
||||
* @param schema The Prosemiror schema to search in
|
||||
* @returns The node or mark type, or null if it doesn't exist
|
||||
*/
|
||||
export function getSchemaTypeByName(name: string, schema: Schema): NodeType | MarkType | null {
|
||||
return schema.nodes[name] || schema.marks[name] || null
|
||||
}
|
||||
|
@ -1,5 +1,11 @@
|
||||
import { Schema } from '@tiptap/pm/model'
|
||||
|
||||
/**
|
||||
* Get the type of a schema item by its name.
|
||||
* @param name The name of the schema item
|
||||
* @param schema The Prosemiror schema to search in
|
||||
* @returns The type of the schema item (`node` or `mark`), or null if it doesn't exist
|
||||
*/
|
||||
export function getSchemaTypeNameByName(name: string, schema: Schema): 'node' | 'mark' | null {
|
||||
if (schema.nodes[name]) {
|
||||
return 'node'
|
||||
|
@ -1,5 +1,12 @@
|
||||
import { ExtensionAttribute } from '../types.js'
|
||||
|
||||
/**
|
||||
* Return attributes of an extension that should be splitted by keepOnSplit flag
|
||||
* @param extensionAttributes Array of extension attributes
|
||||
* @param typeName The type of the extension
|
||||
* @param attributes The attributes of the extension
|
||||
* @returns The splitted attributes
|
||||
*/
|
||||
export function getSplittedAttributes(
|
||||
extensionAttributes: ExtensionAttribute[],
|
||||
typeName: string,
|
||||
|
@ -3,6 +3,15 @@ import { Node as ProseMirrorNode } from '@tiptap/pm/model'
|
||||
import { TextSerializer } from '../types.js'
|
||||
import { getTextBetween } from './getTextBetween.js'
|
||||
|
||||
/**
|
||||
* Gets the text of a Prosemirror node
|
||||
* @param node The Prosemirror node
|
||||
* @param options Options for the text serializer & block separator
|
||||
* @returns The text of the node
|
||||
* @example ```js
|
||||
* const text = getText(node, { blockSeparator: '\n' })
|
||||
* ```
|
||||
*/
|
||||
export function getText(
|
||||
node: ProseMirrorNode,
|
||||
options?: {
|
||||
|
@ -2,6 +2,14 @@ import { Node as ProseMirrorNode } from '@tiptap/pm/model'
|
||||
|
||||
import { Range, TextSerializer } from '../types.js'
|
||||
|
||||
/**
|
||||
* Gets the text between two positions in a Prosemirror node
|
||||
* and serializes it using the given text serializers and block separator (see getText)
|
||||
* @param startNode The Prosemirror node to start from
|
||||
* @param range The range of the text to get
|
||||
* @param options Options for the text serializer & block separator
|
||||
* @returns The text between the two positions
|
||||
*/
|
||||
export function getTextBetween(
|
||||
startNode: ProseMirrorNode,
|
||||
range: Range,
|
||||
|
@ -1,5 +1,11 @@
|
||||
import { ResolvedPos } from '@tiptap/pm/model'
|
||||
|
||||
/**
|
||||
* Returns the text content of a resolved prosemirror position
|
||||
* @param $from The resolved position to get the text content from
|
||||
* @param maxMatch The maximum number of characters to match
|
||||
* @returns The text content
|
||||
*/
|
||||
export const getTextContentFromNodes = ($from: ResolvedPos, maxMatch = 500) => {
|
||||
let textBefore = ''
|
||||
|
||||
|
@ -2,6 +2,11 @@ import { Schema } from '@tiptap/pm/model'
|
||||
|
||||
import { TextSerializer } from '../types.js'
|
||||
|
||||
/**
|
||||
* Find text serializers `toText` in a Prosemirror schema
|
||||
* @param schema The Prosemirror schema to search in
|
||||
* @returns A record of text serializers by node name
|
||||
*/
|
||||
export function getTextSerializersFromSchema(schema: Schema): Record<string, TextSerializer> {
|
||||
return Object.fromEntries(
|
||||
Object.entries(schema.nodes)
|
||||
|
@ -3,6 +3,17 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [2.4.0](https://github.com/ueberdosis/tiptap/compare/v2.3.2...v2.4.0) (2024-05-14)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* added jsdocs ([#4356](https://github.com/ueberdosis/tiptap/issues/4356)) ([b941eea](https://github.com/ueberdosis/tiptap/commit/b941eea6daba09d48a5d18ccc1b9a1d84b2249dd))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.3.2](https://github.com/ueberdosis/tiptap/compare/v2.3.1...v2.3.2) (2024-05-08)
|
||||
|
||||
**Note:** Version bump only for package @tiptap/extension-blockquote
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-blockquote",
|
||||
"description": "blockquote extension for tiptap",
|
||||
"version": "2.3.2",
|
||||
"version": "2.4.0",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -29,7 +29,7 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^2.3.2"
|
||||
"@tiptap/core": "^2.4.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^2.0.0"
|
||||
|
@ -3,6 +3,17 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [2.4.0](https://github.com/ueberdosis/tiptap/compare/v2.3.2...v2.4.0) (2024-05-14)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* added jsdocs ([#4356](https://github.com/ueberdosis/tiptap/issues/4356)) ([b941eea](https://github.com/ueberdosis/tiptap/commit/b941eea6daba09d48a5d18ccc1b9a1d84b2249dd))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.3.2](https://github.com/ueberdosis/tiptap/compare/v2.3.1...v2.3.2) (2024-05-08)
|
||||
|
||||
**Note:** Version bump only for package @tiptap/extension-bold
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-bold",
|
||||
"description": "bold extension for tiptap",
|
||||
"version": "2.3.2",
|
||||
"version": "2.4.0",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -29,7 +29,7 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^2.3.2"
|
||||
"@tiptap/core": "^2.4.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^2.0.0"
|
||||
|
@ -3,6 +3,17 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [2.4.0](https://github.com/ueberdosis/tiptap/compare/v2.3.2...v2.4.0) (2024-05-14)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* added jsdocs ([#4356](https://github.com/ueberdosis/tiptap/issues/4356)) ([b941eea](https://github.com/ueberdosis/tiptap/commit/b941eea6daba09d48a5d18ccc1b9a1d84b2249dd))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.3.2](https://github.com/ueberdosis/tiptap/compare/v2.3.1...v2.3.2) (2024-05-08)
|
||||
|
||||
**Note:** Version bump only for package @tiptap/extension-bubble-menu
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-bubble-menu",
|
||||
"description": "bubble-menu extension for tiptap",
|
||||
"version": "2.3.2",
|
||||
"version": "2.4.0",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -38,8 +38,8 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^2.3.2",
|
||||
"@tiptap/pm": "^2.3.2"
|
||||
"@tiptap/core": "^2.4.0",
|
||||
"@tiptap/pm": "^2.4.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^2.0.0",
|
||||
|
@ -3,6 +3,17 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [2.4.0](https://github.com/ueberdosis/tiptap/compare/v2.3.2...v2.4.0) (2024-05-14)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* added jsdocs ([#4356](https://github.com/ueberdosis/tiptap/issues/4356)) ([b941eea](https://github.com/ueberdosis/tiptap/commit/b941eea6daba09d48a5d18ccc1b9a1d84b2249dd))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.3.2](https://github.com/ueberdosis/tiptap/compare/v2.3.1...v2.3.2) (2024-05-08)
|
||||
|
||||
**Note:** Version bump only for package @tiptap/extension-bullet-list
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-bullet-list",
|
||||
"description": "bullet list extension for tiptap",
|
||||
"version": "2.3.2",
|
||||
"version": "2.4.0",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -29,7 +29,7 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^2.3.2"
|
||||
"@tiptap/core": "^2.4.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^2.0.0"
|
||||
|
@ -3,6 +3,17 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [2.4.0](https://github.com/ueberdosis/tiptap/compare/v2.3.2...v2.4.0) (2024-05-14)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* added jsdocs ([#4356](https://github.com/ueberdosis/tiptap/issues/4356)) ([b941eea](https://github.com/ueberdosis/tiptap/commit/b941eea6daba09d48a5d18ccc1b9a1d84b2249dd))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.3.2](https://github.com/ueberdosis/tiptap/compare/v2.3.1...v2.3.2) (2024-05-08)
|
||||
|
||||
**Note:** Version bump only for package @tiptap/extension-character-count
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-character-count",
|
||||
"description": "font family extension for tiptap",
|
||||
"version": "2.3.2",
|
||||
"version": "2.4.0",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -29,8 +29,8 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^2.3.2",
|
||||
"@tiptap/pm": "^2.3.2"
|
||||
"@tiptap/core": "^2.4.0",
|
||||
"@tiptap/pm": "^2.4.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^2.0.0",
|
||||
|
@ -3,6 +3,17 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [2.4.0](https://github.com/ueberdosis/tiptap/compare/v2.3.2...v2.4.0) (2024-05-14)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* added jsdocs ([#4356](https://github.com/ueberdosis/tiptap/issues/4356)) ([b941eea](https://github.com/ueberdosis/tiptap/commit/b941eea6daba09d48a5d18ccc1b9a1d84b2249dd))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.3.2](https://github.com/ueberdosis/tiptap/compare/v2.3.1...v2.3.2) (2024-05-08)
|
||||
|
||||
**Note:** Version bump only for package @tiptap/extension-code-block-lowlight
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-code-block-lowlight",
|
||||
"description": "code block extension for tiptap",
|
||||
"version": "2.3.2",
|
||||
"version": "2.4.0",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -29,9 +29,9 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^2.3.2",
|
||||
"@tiptap/extension-code-block": "^2.3.2",
|
||||
"@tiptap/pm": "^2.3.2"
|
||||
"@tiptap/core": "^2.4.0",
|
||||
"@tiptap/extension-code-block": "^2.4.0",
|
||||
"@tiptap/pm": "^2.4.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^2.0.0",
|
||||
|
@ -3,6 +3,17 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [2.4.0](https://github.com/ueberdosis/tiptap/compare/v2.3.2...v2.4.0) (2024-05-14)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* added jsdocs ([#4356](https://github.com/ueberdosis/tiptap/issues/4356)) ([b941eea](https://github.com/ueberdosis/tiptap/commit/b941eea6daba09d48a5d18ccc1b9a1d84b2249dd))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.3.2](https://github.com/ueberdosis/tiptap/compare/v2.3.1...v2.3.2) (2024-05-08)
|
||||
|
||||
**Note:** Version bump only for package @tiptap/extension-code-block
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-code-block",
|
||||
"description": "code block extension for tiptap",
|
||||
"version": "2.3.2",
|
||||
"version": "2.4.0",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -29,8 +29,8 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^2.3.2",
|
||||
"@tiptap/pm": "^2.3.2"
|
||||
"@tiptap/core": "^2.4.0",
|
||||
"@tiptap/pm": "^2.4.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^2.0.0",
|
||||
|
@ -3,6 +3,17 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [2.4.0](https://github.com/ueberdosis/tiptap/compare/v2.3.2...v2.4.0) (2024-05-14)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* added jsdocs ([#4356](https://github.com/ueberdosis/tiptap/issues/4356)) ([b941eea](https://github.com/ueberdosis/tiptap/commit/b941eea6daba09d48a5d18ccc1b9a1d84b2249dd))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.3.2](https://github.com/ueberdosis/tiptap/compare/v2.3.1...v2.3.2) (2024-05-08)
|
||||
|
||||
**Note:** Version bump only for package @tiptap/extension-code
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-code",
|
||||
"description": "code extension for tiptap",
|
||||
"version": "2.3.2",
|
||||
"version": "2.4.0",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -29,7 +29,7 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^2.3.2"
|
||||
"@tiptap/core": "^2.4.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^2.0.0"
|
||||
|
@ -3,6 +3,17 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [2.4.0](https://github.com/ueberdosis/tiptap/compare/v2.3.2...v2.4.0) (2024-05-14)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* added jsdocs ([#4356](https://github.com/ueberdosis/tiptap/issues/4356)) ([b941eea](https://github.com/ueberdosis/tiptap/commit/b941eea6daba09d48a5d18ccc1b9a1d84b2249dd))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.3.2](https://github.com/ueberdosis/tiptap/compare/v2.3.1...v2.3.2) (2024-05-08)
|
||||
|
||||
**Note:** Version bump only for package @tiptap/extension-collaboration-cursor
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-collaboration-cursor",
|
||||
"description": "collaboration cursor extension for tiptap",
|
||||
"version": "2.3.2",
|
||||
"version": "2.4.0",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -29,7 +29,7 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^2.3.2",
|
||||
"@tiptap/core": "^2.4.0",
|
||||
"y-prosemirror": "^1.2.5"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
@ -3,6 +3,17 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [2.4.0](https://github.com/ueberdosis/tiptap/compare/v2.3.2...v2.4.0) (2024-05-14)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* added jsdocs ([#4356](https://github.com/ueberdosis/tiptap/issues/4356)) ([b941eea](https://github.com/ueberdosis/tiptap/commit/b941eea6daba09d48a5d18ccc1b9a1d84b2249dd))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.3.2](https://github.com/ueberdosis/tiptap/compare/v2.3.1...v2.3.2) (2024-05-08)
|
||||
|
||||
**Note:** Version bump only for package @tiptap/extension-collaboration
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-collaboration",
|
||||
"description": "collaboration extension for tiptap",
|
||||
"version": "2.3.2",
|
||||
"version": "2.4.0",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -29,8 +29,8 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^2.3.2",
|
||||
"@tiptap/pm": "^2.3.2",
|
||||
"@tiptap/core": "^2.4.0",
|
||||
"@tiptap/pm": "^2.4.0",
|
||||
"y-prosemirror": "^1.2.5"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
@ -3,6 +3,17 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [2.4.0](https://github.com/ueberdosis/tiptap/compare/v2.3.2...v2.4.0) (2024-05-14)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* added jsdocs ([#4356](https://github.com/ueberdosis/tiptap/issues/4356)) ([b941eea](https://github.com/ueberdosis/tiptap/commit/b941eea6daba09d48a5d18ccc1b9a1d84b2249dd))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.3.2](https://github.com/ueberdosis/tiptap/compare/v2.3.1...v2.3.2) (2024-05-08)
|
||||
|
||||
**Note:** Version bump only for package @tiptap/extension-color
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-color",
|
||||
"description": "text color extension for tiptap",
|
||||
"version": "2.3.2",
|
||||
"version": "2.4.0",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -29,8 +29,8 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^2.3.2",
|
||||
"@tiptap/extension-text-style": "^2.3.2"
|
||||
"@tiptap/core": "^2.4.0",
|
||||
"@tiptap/extension-text-style": "^2.4.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^2.0.0",
|
||||
|
@ -3,6 +3,17 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [2.4.0](https://github.com/ueberdosis/tiptap/compare/v2.3.2...v2.4.0) (2024-05-14)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* added jsdocs ([#4356](https://github.com/ueberdosis/tiptap/issues/4356)) ([b941eea](https://github.com/ueberdosis/tiptap/commit/b941eea6daba09d48a5d18ccc1b9a1d84b2249dd))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.3.2](https://github.com/ueberdosis/tiptap/compare/v2.3.1...v2.3.2) (2024-05-08)
|
||||
|
||||
**Note:** Version bump only for package @tiptap/extension-document
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-document",
|
||||
"description": "document extension for tiptap",
|
||||
"version": "2.3.2",
|
||||
"version": "2.4.0",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -29,7 +29,7 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^2.3.2"
|
||||
"@tiptap/core": "^2.4.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^2.0.0"
|
||||
|
@ -3,6 +3,17 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [2.4.0](https://github.com/ueberdosis/tiptap/compare/v2.3.2...v2.4.0) (2024-05-14)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* added jsdocs ([#4356](https://github.com/ueberdosis/tiptap/issues/4356)) ([b941eea](https://github.com/ueberdosis/tiptap/commit/b941eea6daba09d48a5d18ccc1b9a1d84b2249dd))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.3.2](https://github.com/ueberdosis/tiptap/compare/v2.3.1...v2.3.2) (2024-05-08)
|
||||
|
||||
**Note:** Version bump only for package @tiptap/extension-dropcursor
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-dropcursor",
|
||||
"description": "dropcursor extension for tiptap",
|
||||
"version": "2.3.2",
|
||||
"version": "2.4.0",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -29,8 +29,8 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^2.3.2",
|
||||
"@tiptap/pm": "^2.3.2"
|
||||
"@tiptap/core": "^2.4.0",
|
||||
"@tiptap/pm": "^2.4.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^2.0.0",
|
||||
|
@ -3,6 +3,17 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [2.4.0](https://github.com/ueberdosis/tiptap/compare/v2.3.2...v2.4.0) (2024-05-14)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* added jsdocs ([#4356](https://github.com/ueberdosis/tiptap/issues/4356)) ([b941eea](https://github.com/ueberdosis/tiptap/commit/b941eea6daba09d48a5d18ccc1b9a1d84b2249dd))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.3.2](https://github.com/ueberdosis/tiptap/compare/v2.3.1...v2.3.2) (2024-05-08)
|
||||
|
||||
**Note:** Version bump only for package @tiptap/extension-floating-menu
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-floating-menu",
|
||||
"description": "floating-menu extension for tiptap",
|
||||
"version": "2.3.2",
|
||||
"version": "2.4.0",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -29,8 +29,8 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^2.3.2",
|
||||
"@tiptap/pm": "^2.3.2"
|
||||
"@tiptap/core": "^2.4.0",
|
||||
"@tiptap/pm": "^2.4.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^2.0.0",
|
||||
|
@ -3,6 +3,17 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [2.4.0](https://github.com/ueberdosis/tiptap/compare/v2.3.2...v2.4.0) (2024-05-14)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* added jsdocs ([#4356](https://github.com/ueberdosis/tiptap/issues/4356)) ([b941eea](https://github.com/ueberdosis/tiptap/commit/b941eea6daba09d48a5d18ccc1b9a1d84b2249dd))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.3.2](https://github.com/ueberdosis/tiptap/compare/v2.3.1...v2.3.2) (2024-05-08)
|
||||
|
||||
**Note:** Version bump only for package @tiptap/extension-focus
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-focus",
|
||||
"description": "focus extension for tiptap",
|
||||
"version": "2.3.2",
|
||||
"version": "2.4.0",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -29,8 +29,8 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^2.3.2",
|
||||
"@tiptap/pm": "^2.3.2"
|
||||
"@tiptap/core": "^2.4.0",
|
||||
"@tiptap/pm": "^2.4.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^2.0.0",
|
||||
|
@ -3,6 +3,17 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [2.4.0](https://github.com/ueberdosis/tiptap/compare/v2.3.2...v2.4.0) (2024-05-14)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* added jsdocs ([#4356](https://github.com/ueberdosis/tiptap/issues/4356)) ([b941eea](https://github.com/ueberdosis/tiptap/commit/b941eea6daba09d48a5d18ccc1b9a1d84b2249dd))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.3.2](https://github.com/ueberdosis/tiptap/compare/v2.3.1...v2.3.2) (2024-05-08)
|
||||
|
||||
**Note:** Version bump only for package @tiptap/extension-font-family
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-font-family",
|
||||
"description": "font family extension for tiptap",
|
||||
"version": "2.3.2",
|
||||
"version": "2.4.0",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -29,8 +29,8 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^2.3.2",
|
||||
"@tiptap/extension-text-style": "^2.3.2"
|
||||
"@tiptap/core": "^2.4.0",
|
||||
"@tiptap/extension-text-style": "^2.4.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^2.0.0",
|
||||
|
@ -3,6 +3,17 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [2.4.0](https://github.com/ueberdosis/tiptap/compare/v2.3.2...v2.4.0) (2024-05-14)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* added jsdocs ([#4356](https://github.com/ueberdosis/tiptap/issues/4356)) ([b941eea](https://github.com/ueberdosis/tiptap/commit/b941eea6daba09d48a5d18ccc1b9a1d84b2249dd))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.3.2](https://github.com/ueberdosis/tiptap/compare/v2.3.1...v2.3.2) (2024-05-08)
|
||||
|
||||
**Note:** Version bump only for package @tiptap/extension-gapcursor
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-gapcursor",
|
||||
"description": "gapcursor extension for tiptap",
|
||||
"version": "2.3.2",
|
||||
"version": "2.4.0",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -29,8 +29,8 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^2.3.2",
|
||||
"@tiptap/pm": "^2.3.2"
|
||||
"@tiptap/core": "^2.4.0",
|
||||
"@tiptap/pm": "^2.4.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^2.0.0",
|
||||
|
@ -3,6 +3,17 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [2.4.0](https://github.com/ueberdosis/tiptap/compare/v2.3.2...v2.4.0) (2024-05-14)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* added jsdocs ([#4356](https://github.com/ueberdosis/tiptap/issues/4356)) ([b941eea](https://github.com/ueberdosis/tiptap/commit/b941eea6daba09d48a5d18ccc1b9a1d84b2249dd))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.3.2](https://github.com/ueberdosis/tiptap/compare/v2.3.1...v2.3.2) (2024-05-08)
|
||||
|
||||
**Note:** Version bump only for package @tiptap/extension-hard-break
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-hard-break",
|
||||
"description": "hard break extension for tiptap",
|
||||
"version": "2.3.2",
|
||||
"version": "2.4.0",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -29,7 +29,7 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^2.3.2"
|
||||
"@tiptap/core": "^2.4.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^2.0.0"
|
||||
|
@ -3,6 +3,17 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [2.4.0](https://github.com/ueberdosis/tiptap/compare/v2.3.2...v2.4.0) (2024-05-14)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* added jsdocs ([#4356](https://github.com/ueberdosis/tiptap/issues/4356)) ([b941eea](https://github.com/ueberdosis/tiptap/commit/b941eea6daba09d48a5d18ccc1b9a1d84b2249dd))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.3.2](https://github.com/ueberdosis/tiptap/compare/v2.3.1...v2.3.2) (2024-05-08)
|
||||
|
||||
**Note:** Version bump only for package @tiptap/extension-heading
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-heading",
|
||||
"description": "heading extension for tiptap",
|
||||
"version": "2.3.2",
|
||||
"version": "2.4.0",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -29,7 +29,7 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^2.3.2"
|
||||
"@tiptap/core": "^2.4.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^2.0.0"
|
||||
|
@ -3,6 +3,17 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [2.4.0](https://github.com/ueberdosis/tiptap/compare/v2.3.2...v2.4.0) (2024-05-14)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* added jsdocs ([#4356](https://github.com/ueberdosis/tiptap/issues/4356)) ([b941eea](https://github.com/ueberdosis/tiptap/commit/b941eea6daba09d48a5d18ccc1b9a1d84b2249dd))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.3.2](https://github.com/ueberdosis/tiptap/compare/v2.3.1...v2.3.2) (2024-05-08)
|
||||
|
||||
**Note:** Version bump only for package @tiptap/extension-highlight
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-highlight",
|
||||
"description": "highlight extension for tiptap",
|
||||
"version": "2.3.2",
|
||||
"version": "2.4.0",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -29,7 +29,7 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^2.3.2"
|
||||
"@tiptap/core": "^2.4.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^2.0.0"
|
||||
|
@ -3,6 +3,17 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [2.4.0](https://github.com/ueberdosis/tiptap/compare/v2.3.2...v2.4.0) (2024-05-14)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* added jsdocs ([#4356](https://github.com/ueberdosis/tiptap/issues/4356)) ([b941eea](https://github.com/ueberdosis/tiptap/commit/b941eea6daba09d48a5d18ccc1b9a1d84b2249dd))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.3.2](https://github.com/ueberdosis/tiptap/compare/v2.3.1...v2.3.2) (2024-05-08)
|
||||
|
||||
**Note:** Version bump only for package @tiptap/extension-history
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-history",
|
||||
"description": "history extension for tiptap",
|
||||
"version": "2.3.2",
|
||||
"version": "2.4.0",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -29,8 +29,8 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^2.3.2",
|
||||
"@tiptap/pm": "^2.3.2"
|
||||
"@tiptap/core": "^2.4.0",
|
||||
"@tiptap/pm": "^2.4.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^2.0.0",
|
||||
|
@ -3,6 +3,17 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [2.4.0](https://github.com/ueberdosis/tiptap/compare/v2.3.2...v2.4.0) (2024-05-14)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* added jsdocs ([#4356](https://github.com/ueberdosis/tiptap/issues/4356)) ([b941eea](https://github.com/ueberdosis/tiptap/commit/b941eea6daba09d48a5d18ccc1b9a1d84b2249dd))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.3.2](https://github.com/ueberdosis/tiptap/compare/v2.3.1...v2.3.2) (2024-05-08)
|
||||
|
||||
**Note:** Version bump only for package @tiptap/extension-horizontal-rule
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-horizontal-rule",
|
||||
"description": "horizontal rule extension for tiptap",
|
||||
"version": "2.3.2",
|
||||
"version": "2.4.0",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -29,8 +29,8 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^2.3.2",
|
||||
"@tiptap/pm": "^2.3.2"
|
||||
"@tiptap/core": "^2.4.0",
|
||||
"@tiptap/pm": "^2.4.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^2.0.0",
|
||||
|
@ -3,6 +3,17 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [2.4.0](https://github.com/ueberdosis/tiptap/compare/v2.3.2...v2.4.0) (2024-05-14)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* added jsdocs ([#4356](https://github.com/ueberdosis/tiptap/issues/4356)) ([b941eea](https://github.com/ueberdosis/tiptap/commit/b941eea6daba09d48a5d18ccc1b9a1d84b2249dd))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.3.2](https://github.com/ueberdosis/tiptap/compare/v2.3.1...v2.3.2) (2024-05-08)
|
||||
|
||||
**Note:** Version bump only for package @tiptap/extension-image
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-image",
|
||||
"description": "image extension for tiptap",
|
||||
"version": "2.3.2",
|
||||
"version": "2.4.0",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -29,7 +29,7 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^2.3.2"
|
||||
"@tiptap/core": "^2.4.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^2.0.0"
|
||||
|
@ -3,6 +3,17 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [2.4.0](https://github.com/ueberdosis/tiptap/compare/v2.3.2...v2.4.0) (2024-05-14)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* added jsdocs ([#4356](https://github.com/ueberdosis/tiptap/issues/4356)) ([b941eea](https://github.com/ueberdosis/tiptap/commit/b941eea6daba09d48a5d18ccc1b9a1d84b2249dd))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.3.2](https://github.com/ueberdosis/tiptap/compare/v2.3.1...v2.3.2) (2024-05-08)
|
||||
|
||||
**Note:** Version bump only for package @tiptap/extension-italic
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-italic",
|
||||
"description": "italic extension for tiptap",
|
||||
"version": "2.3.2",
|
||||
"version": "2.4.0",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -29,7 +29,7 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^2.3.2"
|
||||
"@tiptap/core": "^2.4.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^2.0.0"
|
||||
|
@ -3,6 +3,17 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [2.4.0](https://github.com/ueberdosis/tiptap/compare/v2.3.2...v2.4.0) (2024-05-14)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* added jsdocs ([#4356](https://github.com/ueberdosis/tiptap/issues/4356)) ([b941eea](https://github.com/ueberdosis/tiptap/commit/b941eea6daba09d48a5d18ccc1b9a1d84b2249dd))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.3.2](https://github.com/ueberdosis/tiptap/compare/v2.3.1...v2.3.2) (2024-05-08)
|
||||
|
||||
**Note:** Version bump only for package @tiptap/extension-link
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-link",
|
||||
"description": "link extension for tiptap",
|
||||
"version": "2.3.2",
|
||||
"version": "2.4.0",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -32,8 +32,8 @@
|
||||
"linkifyjs": "^4.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^2.3.2",
|
||||
"@tiptap/pm": "^2.3.2"
|
||||
"@tiptap/core": "^2.4.0",
|
||||
"@tiptap/pm": "^2.4.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^2.0.0",
|
||||
|
@ -3,6 +3,17 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [2.4.0](https://github.com/ueberdosis/tiptap/compare/v2.3.2...v2.4.0) (2024-05-14)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* added jsdocs ([#4356](https://github.com/ueberdosis/tiptap/issues/4356)) ([b941eea](https://github.com/ueberdosis/tiptap/commit/b941eea6daba09d48a5d18ccc1b9a1d84b2249dd))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.3.2](https://github.com/ueberdosis/tiptap/compare/v2.3.1...v2.3.2) (2024-05-08)
|
||||
|
||||
**Note:** Version bump only for package @tiptap/extension-list-item
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-list-item",
|
||||
"description": "list item extension for tiptap",
|
||||
"version": "2.3.2",
|
||||
"version": "2.4.0",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -29,7 +29,7 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^2.3.2"
|
||||
"@tiptap/core": "^2.4.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^2.0.0"
|
||||
|
@ -3,6 +3,17 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [2.4.0](https://github.com/ueberdosis/tiptap/compare/v2.3.2...v2.4.0) (2024-05-14)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* added jsdocs ([#4356](https://github.com/ueberdosis/tiptap/issues/4356)) ([b941eea](https://github.com/ueberdosis/tiptap/commit/b941eea6daba09d48a5d18ccc1b9a1d84b2249dd))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.3.2](https://github.com/ueberdosis/tiptap/compare/v2.3.1...v2.3.2) (2024-05-08)
|
||||
|
||||
**Note:** Version bump only for package @tiptap/extension-list-keymap
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-list-keymap",
|
||||
"description": "list keymap extension for tiptap",
|
||||
"version": "2.3.2",
|
||||
"version": "2.4.0",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -29,7 +29,7 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^2.3.2"
|
||||
"@tiptap/core": "^2.4.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^2.0.0"
|
||||
|
@ -3,6 +3,17 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [2.4.0](https://github.com/ueberdosis/tiptap/compare/v2.3.2...v2.4.0) (2024-05-14)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* added jsdocs ([#4356](https://github.com/ueberdosis/tiptap/issues/4356)) ([b941eea](https://github.com/ueberdosis/tiptap/commit/b941eea6daba09d48a5d18ccc1b9a1d84b2249dd))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.3.2](https://github.com/ueberdosis/tiptap/compare/v2.3.1...v2.3.2) (2024-05-08)
|
||||
|
||||
**Note:** Version bump only for package @tiptap/extension-mention
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-mention",
|
||||
"description": "mention extension for tiptap",
|
||||
"version": "2.3.2",
|
||||
"version": "2.4.0",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -29,9 +29,9 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^2.3.2",
|
||||
"@tiptap/pm": "^2.3.2",
|
||||
"@tiptap/suggestion": "^2.3.2"
|
||||
"@tiptap/core": "^2.4.0",
|
||||
"@tiptap/pm": "^2.4.0",
|
||||
"@tiptap/suggestion": "^2.4.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^2.0.0",
|
||||
|
@ -3,6 +3,17 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [2.4.0](https://github.com/ueberdosis/tiptap/compare/v2.3.2...v2.4.0) (2024-05-14)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* added jsdocs ([#4356](https://github.com/ueberdosis/tiptap/issues/4356)) ([b941eea](https://github.com/ueberdosis/tiptap/commit/b941eea6daba09d48a5d18ccc1b9a1d84b2249dd))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.3.2](https://github.com/ueberdosis/tiptap/compare/v2.3.1...v2.3.2) (2024-05-08)
|
||||
|
||||
**Note:** Version bump only for package @tiptap/extension-ordered-list
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-ordered-list",
|
||||
"description": "ordered list extension for tiptap",
|
||||
"version": "2.3.2",
|
||||
"version": "2.4.0",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -29,7 +29,7 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^2.3.2"
|
||||
"@tiptap/core": "^2.4.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^2.0.0"
|
||||
|
@ -3,6 +3,17 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [2.4.0](https://github.com/ueberdosis/tiptap/compare/v2.3.2...v2.4.0) (2024-05-14)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* added jsdocs ([#4356](https://github.com/ueberdosis/tiptap/issues/4356)) ([b941eea](https://github.com/ueberdosis/tiptap/commit/b941eea6daba09d48a5d18ccc1b9a1d84b2249dd))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.3.2](https://github.com/ueberdosis/tiptap/compare/v2.3.1...v2.3.2) (2024-05-08)
|
||||
|
||||
**Note:** Version bump only for package @tiptap/extension-paragraph
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-paragraph",
|
||||
"description": "paragraph extension for tiptap",
|
||||
"version": "2.3.2",
|
||||
"version": "2.4.0",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -29,7 +29,7 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^2.3.2"
|
||||
"@tiptap/core": "^2.4.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^2.0.0"
|
||||
|
@ -3,6 +3,17 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [2.4.0](https://github.com/ueberdosis/tiptap/compare/v2.3.2...v2.4.0) (2024-05-14)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* added jsdocs ([#4356](https://github.com/ueberdosis/tiptap/issues/4356)) ([b941eea](https://github.com/ueberdosis/tiptap/commit/b941eea6daba09d48a5d18ccc1b9a1d84b2249dd))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.3.2](https://github.com/ueberdosis/tiptap/compare/v2.3.1...v2.3.2) (2024-05-08)
|
||||
|
||||
**Note:** Version bump only for package @tiptap/extension-placeholder
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-placeholder",
|
||||
"description": "placeholder extension for tiptap",
|
||||
"version": "2.3.2",
|
||||
"version": "2.4.0",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -29,8 +29,8 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^2.3.2",
|
||||
"@tiptap/pm": "^2.3.2"
|
||||
"@tiptap/core": "^2.4.0",
|
||||
"@tiptap/pm": "^2.4.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^2.0.0",
|
||||
|
@ -3,6 +3,17 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [2.4.0](https://github.com/ueberdosis/tiptap/compare/v2.3.2...v2.4.0) (2024-05-14)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* added jsdocs ([#4356](https://github.com/ueberdosis/tiptap/issues/4356)) ([b941eea](https://github.com/ueberdosis/tiptap/commit/b941eea6daba09d48a5d18ccc1b9a1d84b2249dd))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.3.2](https://github.com/ueberdosis/tiptap/compare/v2.3.1...v2.3.2) (2024-05-08)
|
||||
|
||||
**Note:** Version bump only for package @tiptap/extension-strike
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user