Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tiptap/core

Package Overview
Dependencies
Maintainers
2
Versions
330
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tiptap/core - npm Package Compare versions

Comparing version 2.0.0-alpha.21 to 2.0.0-alpha.22

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

# [2.0.0-alpha.22](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/core@2.0.0-alpha.21...@tiptap/core@2.0.0-alpha.22) (2021-02-28)
**Note:** Version bump only for package @tiptap/core
# [2.0.0-alpha.21](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/core@2.0.0-alpha.20...@tiptap/core@2.0.0-alpha.21) (2021-02-26)

@@ -8,0 +16,0 @@

4

dist/packages/core/src/Editor.d.ts

@@ -6,3 +6,3 @@ import { EditorState, Plugin, Transaction } from 'prosemirror-state';

import EventEmitter from './EventEmitter';
import { EditorOptions, EditorContent, CanCommands, ChainedCommands, SingleCommands, AnyObject } from './types';
import { EditorOptions, Content, CanCommands, ChainedCommands, SingleCommands, AnyObject } from './types';
import * as extensions from './extensions';

@@ -88,3 +88,3 @@ export { extensions };

*/
createDocument: (content: EditorContent, parseOptions?: import("prosemirror-model").ParseOptions<any>) => Node;
createDocument: (content: Content, parseOptions?: import("prosemirror-model").ParseOptions<any>) => Node;
isCapturingTransaction: boolean;

@@ -91,0 +91,0 @@ private capturedTransaction;

@@ -13,3 +13,3 @@ import { Node as ProseMirrorNode, Mark as ProseMirrorMark, ParseOptions } from 'prosemirror-model';

element: Element;
content: EditorContent;
content: Content;
extensions: Extensions;

@@ -37,3 +37,3 @@ injectCSS: boolean;

}
export declare type EditorContent = string | JSON | null;
export declare type Content = string | JSON | null;
export declare type CommandProps = {

@@ -40,0 +40,0 @@ editor: Editor;

{
"name": "@tiptap/core",
"description": "headless rich text editor",
"version": "2.0.0-alpha.21",
"version": "2.0.0-alpha.22",
"homepage": "https://tiptap.dev",

@@ -44,3 +44,3 @@ "keywords": [

},
"gitHead": "5fc6c1b7c2200591c65dce1eb3d5dcdf908269f6"
"gitHead": "79bb54be6966744d9a79da3b82cd5cdcc419c5af"
}

@@ -16,3 +16,3 @@ import { EditorState, Plugin, Transaction } from 'prosemirror-state'

EditorOptions,
EditorContent,
Content,
CanCommands,

@@ -241,3 +241,3 @@ ChainedCommands,

*/
public createDocument = (content: EditorContent, parseOptions = this.options.parseOptions): Node => {
public createDocument = (content: Content, parseOptions = this.options.parseOptions): Node => {
if (content && typeof content === 'object') {

@@ -244,0 +244,0 @@ try {

@@ -35,3 +35,3 @@ import {

element: Element,
content: EditorContent,
content: Content,
extensions: Extensions,

@@ -54,3 +54,3 @@ injectCSS: boolean,

export type EditorContent = string | JSON | null
export type Content = string | JSON | null

@@ -57,0 +57,0 @@ export type CommandProps = {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc