Socket
Socket
Sign inDemoInstall

ngx-editor

Package Overview
Dependencies
24
Maintainers
1
Versions
145
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 17.0.2 to 17.1.0

14

CHANGELOG.md

@@ -16,2 +16,16 @@ # CHANGELOG

## v17.1.0 (2024-05-12)
#### Features
- add support for parseOptions ([3d5ac24](https://github.com/sibiraj-s/ngx-editor/commit/3d5ac24))
- unpin prosemirror and floating ui dependencies ([22e8bc2](https://github.com/sibiraj-s/ngx-editor/commit/22e8bc2))
- add locale for invalid URL error message ([aee35ff](https://github.com/sibiraj-s/ngx-editor/commit/aee35ff))
- improve menu accessibility ([041c167](https://github.com/sibiraj-s/ngx-editor/commit/041c167))
#### Bug Fixes
- cleanup types ([7902131](https://github.com/sibiraj-s/ngx-editor/commit/7902131))
- fix unset link removes other marks in range ([c038772](https://github.com/sibiraj-s/ngx-editor/commit/c038772))
## v17.0.2 (2024-04-03)

@@ -18,0 +32,0 @@

3

lib/Editor.d.ts

@@ -1,2 +0,2 @@

import { Schema } from 'prosemirror-model';
import { ParseOptions, Schema } from 'prosemirror-model';
import { Plugin } from 'prosemirror-state';

@@ -21,2 +21,3 @@ import { EditorProps, EditorView } from 'prosemirror-view';

linkValidationPattern?: string;
parseOptions?: ParseOptions;
}

@@ -23,0 +24,0 @@ interface EditorFeatures {

@@ -23,2 +23,3 @@ import { ElementRef, OnDestroy, OnInit } from '@angular/core';

getName(key: string): Observable<string>;
getIsDropdownActive(item: string): boolean;
toggleDropdown(e: MouseEvent): void;

@@ -25,0 +26,0 @@ trackByIndex(index: number): number;

@@ -1,2 +0,2 @@

import { Schema, Node as ProseMirrorNode } from 'prosemirror-model';
import { Schema, Node as ProseMirrorNode, ParseOptions } from 'prosemirror-model';
import { HTML } from './trustedTypesUtil';

@@ -10,3 +10,3 @@ export declare const emptyDoc: {

export declare const toHTML: (json: Record<string, any>, inputSchema?: Schema) => string;
export declare const toDoc: (html: HTML, inputSchema?: Schema) => Record<string, any>;
export declare const parseContent: (value: HTML | Record<string, any> | null, schema: Schema) => ProseMirrorNode;
export declare const toDoc: (html: HTML, inputSchema?: Schema, options?: ParseOptions) => Record<string, any>;
export declare const parseContent: (value: HTML | Record<string, any> | null, schema: Schema, options?: ParseOptions) => ProseMirrorNode;
{
"name": "ngx-editor",
"version": "17.0.2",
"version": "17.1.0",
"description": "The Rich Text Editor for Angular, Built on ProseMirror",

@@ -25,13 +25,13 @@ "license": "MIT",

"dependencies": {
"@floating-ui/core": "1.6.0",
"@floating-ui/dom": "1.6.3",
"@floating-ui/core": "^1.6.0",
"@floating-ui/dom": "^1.6.0",
"@types/trusted-types": "~2.0.7",
"prosemirror-commands": "1.5.2",
"prosemirror-history": "1.3.2",
"prosemirror-inputrules": "1.4.0",
"prosemirror-keymap": "1.2.2",
"prosemirror-model": "1.19.4",
"prosemirror-schema-list": "1.3.0",
"prosemirror-state": "1.4.3",
"prosemirror-view": "1.33.1",
"prosemirror-commands": "^1.5.2",
"prosemirror-history": "^1.4.0",
"prosemirror-inputrules": "^1.4.0",
"prosemirror-keymap": "^1.2.2",
"prosemirror-model": "^1.21.0",
"prosemirror-schema-list": "^1.3.0",
"prosemirror-state": "^1.4.3",
"prosemirror-view": "^1.33.6",
"tslib": "^2.3.0"

@@ -38,0 +38,0 @@ },

@@ -31,5 +31,6 @@ import { DOMOutputSpec, Node as ProseMirrorNode, NodeSpec } from 'prosemirror-model';

toDOM?: (node: ProseMirrorNode) => DOMOutputSpec;
parseDOM?: readonly import("prosemirror-model").ParseRule[];
parseDOM?: readonly import("prosemirror-model").TagParseRule[];
toDebugString?: (node: ProseMirrorNode) => string;
leafText?: (node: ProseMirrorNode) => string;
linebreakReplacement?: boolean;
};

@@ -54,5 +55,6 @@ ordered_list: {

toDOM?: (node: ProseMirrorNode) => DOMOutputSpec;
parseDOM?: readonly import("prosemirror-model").ParseRule[];
parseDOM?: readonly import("prosemirror-model").TagParseRule[];
toDebugString?: (node: ProseMirrorNode) => string;
leafText?: (node: ProseMirrorNode) => string;
linebreakReplacement?: boolean;
};

@@ -77,7 +79,8 @@ bullet_list: {

toDOM?: (node: ProseMirrorNode) => DOMOutputSpec;
parseDOM?: readonly import("prosemirror-model").ParseRule[];
parseDOM?: readonly import("prosemirror-model").TagParseRule[];
toDebugString?: (node: ProseMirrorNode) => string;
leafText?: (node: ProseMirrorNode) => string;
linebreakReplacement?: boolean;
};
};
export default nodes;

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

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

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

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

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

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

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc