ngx-editor
Advanced tools
Comparing version 17.0.2 to 17.1.0
@@ -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 @@ |
@@ -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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
1018873
8223
+ Added@floating-ui/core@1.6.2(transitive)
+ Added@floating-ui/dom@1.6.5(transitive)
+ Addedprosemirror-history@1.4.0(transitive)
+ Addedprosemirror-view@1.33.6(transitive)
- Removed@floating-ui/core@1.6.0(transitive)
- Removed@floating-ui/dom@1.6.3(transitive)
- Removedprosemirror-history@1.3.2(transitive)
- Removedprosemirror-model@1.19.4(transitive)
- Removedprosemirror-view@1.33.1(transitive)
Updated@floating-ui/core@^1.6.0
Updated@floating-ui/dom@^1.6.0
Updatedprosemirror-commands@^1.5.2
Updatedprosemirror-history@^1.4.0
Updatedprosemirror-keymap@^1.2.2
Updatedprosemirror-model@^1.21.0
Updatedprosemirror-state@^1.4.3
Updatedprosemirror-view@^1.33.6