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

@tiptap/extension-font-family

Package Overview
Dependencies
Maintainers
5
Versions
164
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tiptap/extension-font-family - npm Package Compare versions

Comparing version 2.7.2 to 2.7.3

3

dist/packages/core/src/ExtensionManager.d.ts
import { Schema } from '@tiptap/pm/model';
import { Plugin } from '@tiptap/pm/state';
import { NodeViewConstructor } from '@tiptap/pm/view';
import type { Editor } from './Editor.js';

@@ -49,3 +50,3 @@ import { Extensions, RawCommands } from './types.js';

*/
get nodeViews(): any;
get nodeViews(): Record<string, NodeViewConstructor>;
/**

@@ -52,0 +53,0 @@ * Go through all extensions, create extension storages & setup marks

@@ -192,9 +192,6 @@ import { Mark as ProseMirrorMark, Node as ProseMirrorNode, NodeType, ParseOptions, Slice } from '@tiptap/pm/model';

}[keyof T];
export type Simplify<T> = {
[KeyType in keyof T]: T[KeyType];
} & {};
export type DecorationWithType = Decoration & {
type: NodeType;
};
export type NodeViewProps = Simplify<Omit<NodeViewRendererProps, 'decorations'> & {
export interface NodeViewProps extends NodeViewRendererProps {
decorations: readonly DecorationWithType[];

@@ -204,3 +201,3 @@ selected: boolean;

deleteNode: () => void;
}>;
}
export interface NodeViewRendererOptions {

@@ -218,3 +215,3 @@ stopEvent: ((props: {

}
export type NodeViewRendererProps = {
export interface NodeViewRendererProps {
node: Parameters<NodeViewConstructor>[0];

@@ -228,3 +225,3 @@ view: Parameters<NodeViewConstructor>[1];

HTMLAttributes: Record<string, any>;
};
}
export type NodeViewRenderer = (props: NodeViewRendererProps) => NodeView;

@@ -231,0 +228,0 @@ export type AnyCommands = Record<string, (...args: any[]) => Command>;

{
"name": "@tiptap/extension-font-family",
"description": "font family extension for tiptap",
"version": "2.7.2",
"version": "2.7.3",
"homepage": "https://tiptap.dev",

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

"devDependencies": {
"@tiptap/core": "^2.7.2",
"@tiptap/extension-text-style": "^2.7.2"
"@tiptap/core": "^2.7.3",
"@tiptap/extension-text-style": "^2.7.3"
},

@@ -36,0 +36,0 @@ "peerDependencies": {

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