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

@tiptap/starter-kit

Package Overview
Dependencies
Maintainers
4
Versions
328
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tiptap/starter-kit - npm Package Compare versions

Comparing version 2.3.2 to 2.4.0

5

dist/index.js

@@ -21,2 +21,7 @@ import { Extension } from '@tiptap/core';

/**
* The starter kit is a collection of essential editor extensions.
*
* It’s a good starting point for building your own editor.
*/
const StarterKit = Extension.create({

@@ -23,0 +28,0 @@ name: 'starterKit',

@@ -7,2 +7,7 @@ (function (global, factory) {

/**
* The starter kit is a collection of essential editor extensions.
*
* It’s a good starting point for building your own editor.
*/
const StarterKit = core.Extension.create({

@@ -9,0 +14,0 @@ name: 'starterKit',

77

dist/packages/starter-kit/src/starter-kit.d.ts

@@ -18,21 +18,98 @@ import { Extension } from '@tiptap/core';

export interface StarterKitOptions {
/**
* If set to false, the blockquote extension will not be registered
* @example blockquote: false
*/
blockquote: Partial<BlockquoteOptions> | false;
/**
* If set to false, the bold extension will not be registered
* @example bold: false
*/
bold: Partial<BoldOptions> | false;
/**
* If set to false, the bulletList extension will not be registered
* @example bulletList: false
*/
bulletList: Partial<BulletListOptions> | false;
/**
* If set to false, the code extension will not be registered
* @example code: false
*/
code: Partial<CodeOptions> | false;
/**
* If set to false, the codeBlock extension will not be registered
* @example codeBlock: false
*/
codeBlock: Partial<CodeBlockOptions> | false;
/**
* If set to false, the document extension will not be registered
* @example document: false
*/
document: false;
/**
* If set to false, the dropcursor extension will not be registered
* @example dropcursor: false
*/
dropcursor: Partial<DropcursorOptions> | false;
/**
* If set to false, the gapcursor extension will not be registered
* @example gapcursor: false
*/
gapcursor: false;
/**
* If set to false, the hardBreak extension will not be registered
* @example hardBreak: false
*/
hardBreak: Partial<HardBreakOptions> | false;
/**
* If set to false, the heading extension will not be registered
* @example heading: false
*/
heading: Partial<HeadingOptions> | false;
/**
* If set to false, the history extension will not be registered
* @example history: false
*/
history: Partial<HistoryOptions> | false;
/**
* If set to false, the horizontalRule extension will not be registered
* @example horizontalRule: false
*/
horizontalRule: Partial<HorizontalRuleOptions> | false;
/**
* If set to false, the italic extension will not be registered
* @example italic: false
*/
italic: Partial<ItalicOptions> | false;
/**
* If set to false, the listItem extension will not be registered
* @example listItem: false
*/
listItem: Partial<ListItemOptions> | false;
/**
* If set to false, the orderedList extension will not be registered
* @example orderedList: false
*/
orderedList: Partial<OrderedListOptions> | false;
/**
* If set to false, the paragraph extension will not be registered
* @example paragraph: false
*/
paragraph: Partial<ParagraphOptions> | false;
/**
* If set to false, the strike extension will not be registered
* @example strike: false
*/
strike: Partial<StrikeOptions> | false;
/**
* If set to false, the text extension will not be registered
* @example text: false
*/
text: false;
}
/**
* The starter kit is a collection of essential editor extensions.
*
* It’s a good starting point for building your own editor.
*/
export declare const StarterKit: Extension<StarterKitOptions, any>;

40

package.json
{
"name": "@tiptap/starter-kit",
"description": "starter kit for tiptap",
"version": "2.3.2",
"version": "2.4.0",
"homepage": "https://tiptap.dev",

@@ -32,21 +32,21 @@ "keywords": [

"dependencies": {
"@tiptap/core": "^2.3.2",
"@tiptap/extension-blockquote": "^2.3.2",
"@tiptap/extension-bold": "^2.3.2",
"@tiptap/extension-bullet-list": "^2.3.2",
"@tiptap/extension-code": "^2.3.2",
"@tiptap/extension-code-block": "^2.3.2",
"@tiptap/extension-document": "^2.3.2",
"@tiptap/extension-dropcursor": "^2.3.2",
"@tiptap/extension-gapcursor": "^2.3.2",
"@tiptap/extension-hard-break": "^2.3.2",
"@tiptap/extension-heading": "^2.3.2",
"@tiptap/extension-history": "^2.3.2",
"@tiptap/extension-horizontal-rule": "^2.3.2",
"@tiptap/extension-italic": "^2.3.2",
"@tiptap/extension-list-item": "^2.3.2",
"@tiptap/extension-ordered-list": "^2.3.2",
"@tiptap/extension-paragraph": "^2.3.2",
"@tiptap/extension-strike": "^2.3.2",
"@tiptap/extension-text": "^2.3.2"
"@tiptap/core": "^2.4.0",
"@tiptap/extension-blockquote": "^2.4.0",
"@tiptap/extension-bold": "^2.4.0",
"@tiptap/extension-bullet-list": "^2.4.0",
"@tiptap/extension-code": "^2.4.0",
"@tiptap/extension-code-block": "^2.4.0",
"@tiptap/extension-document": "^2.4.0",
"@tiptap/extension-dropcursor": "^2.4.0",
"@tiptap/extension-gapcursor": "^2.4.0",
"@tiptap/extension-hard-break": "^2.4.0",
"@tiptap/extension-heading": "^2.4.0",
"@tiptap/extension-history": "^2.4.0",
"@tiptap/extension-horizontal-rule": "^2.4.0",
"@tiptap/extension-italic": "^2.4.0",
"@tiptap/extension-list-item": "^2.4.0",
"@tiptap/extension-ordered-list": "^2.4.0",
"@tiptap/extension-paragraph": "^2.4.0",
"@tiptap/extension-strike": "^2.4.0",
"@tiptap/extension-text": "^2.4.0"
},

@@ -53,0 +53,0 @@ "repository": {

@@ -22,22 +22,116 @@ import { Extension } from '@tiptap/core'

export interface StarterKitOptions {
/**
* If set to false, the blockquote extension will not be registered
* @example blockquote: false
*/
blockquote: Partial<BlockquoteOptions> | false,
/**
* If set to false, the bold extension will not be registered
* @example bold: false
*/
bold: Partial<BoldOptions> | false,
/**
* If set to false, the bulletList extension will not be registered
* @example bulletList: false
*/
bulletList: Partial<BulletListOptions> | false,
/**
* If set to false, the code extension will not be registered
* @example code: false
*/
code: Partial<CodeOptions> | false,
/**
* If set to false, the codeBlock extension will not be registered
* @example codeBlock: false
*/
codeBlock: Partial<CodeBlockOptions> | false,
/**
* If set to false, the document extension will not be registered
* @example document: false
*/
document: false,
/**
* If set to false, the dropcursor extension will not be registered
* @example dropcursor: false
*/
dropcursor: Partial<DropcursorOptions> | false,
/**
* If set to false, the gapcursor extension will not be registered
* @example gapcursor: false
*/
gapcursor: false,
/**
* If set to false, the hardBreak extension will not be registered
* @example hardBreak: false
*/
hardBreak: Partial<HardBreakOptions> | false,
/**
* If set to false, the heading extension will not be registered
* @example heading: false
*/
heading: Partial<HeadingOptions> | false,
/**
* If set to false, the history extension will not be registered
* @example history: false
*/
history: Partial<HistoryOptions> | false,
/**
* If set to false, the horizontalRule extension will not be registered
* @example horizontalRule: false
*/
horizontalRule: Partial<HorizontalRuleOptions> | false,
/**
* If set to false, the italic extension will not be registered
* @example italic: false
*/
italic: Partial<ItalicOptions> | false,
/**
* If set to false, the listItem extension will not be registered
* @example listItem: false
*/
listItem: Partial<ListItemOptions> | false,
/**
* If set to false, the orderedList extension will not be registered
* @example orderedList: false
*/
orderedList: Partial<OrderedListOptions> | false,
/**
* If set to false, the paragraph extension will not be registered
* @example paragraph: false
*/
paragraph: Partial<ParagraphOptions> | false,
/**
* If set to false, the strike extension will not be registered
* @example strike: false
*/
strike: Partial<StrikeOptions> | false,
/**
* If set to false, the text extension will not be registered
* @example text: false
*/
text: false,
}
/**
* The starter kit is a collection of essential editor extensions.
*
* It’s a good starting point for building your own editor.
*/
export const StarterKit = Extension.create<StarterKitOptions>({

@@ -44,0 +138,0 @@ name: 'starterKit',

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