Socket
Socket
Sign inDemoInstall

ngx-editor

Package Overview
Dependencies
30
Maintainers
1
Versions
145
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 12.1.2 to 12.2.0

15

CHANGELOG.md

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

## v12.2.0 (2022-02-20)
### Features
- add option `autoPlace` to floating-menu to automatically position the component ([82c1047](https://github.com/sibiraj-s/ngx-editor/commit/82c1047))
### Enhancements
- improve floating-menu positioning with floating-ui ([82c1047](https://github.com/sibiraj-s/ngx-editor/commit/82c1047))
#### Dependency Updates
- update prosemirror dependencies ([8d4d5ea](https://github.com/sibiraj-s/ngx-editor/commit/8d4d5ea))
- update devDependencies ([8171514](https://github.com/sibiraj-s/ngx-editor/commit/8171514))
## v12.1.2 (2022-01-29)

@@ -18,0 +33,0 @@

1

helpers/public_api.d.ts

@@ -5,5 +5,4 @@ export * from './isMarkActive';

export * from './getSelectionMarks';
export * from './bubblePosition';
export * from './getSelectionNodes';
export * from './markApplies';
export * from './markInputRule';
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
import Editor from '../../../Editor';
import { TBItems } from '../../../types';
import { SanitizeHtmlPipe } from '../../../pipes/sanitize/sanitize-html.pipe';

@@ -13,2 +12,3 @@ import * as i0 from "@angular/core";

editor: Editor;
autoPlace: boolean;
private posLeft;

@@ -20,4 +20,2 @@ private posTop;

private resizeSubscription;
execulableItems: TBItems[];
activeItems: TBItems[];
onMouseDown(e: MouseEvent): void;

@@ -31,2 +29,3 @@ onKeyDown(e: KeyboardEvent): void;

private calculateBubblePosition;
private canShowMenu;
private update;

@@ -36,3 +35,3 @@ ngOnInit(): void;

static ɵfac: i0.ɵɵFactoryDeclaration<FloatingMenuComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<FloatingMenuComponent, "ngx-editor-floating-menu", never, { "editor": "editor"; }, {}, never, ["*"]>;
static ɵcmp: i0.ɵɵComponentDeclaration<FloatingMenuComponent, "ngx-editor-floating-menu", never, { "editor": "editor"; "autoPlace": "autoPlace"; }, {}, never, ["*"]>;
}
{
"name": "ngx-editor",
"version": "12.1.2",
"version": "12.2.0",
"description": "Rich Text Editor for angular using ProseMirror",

@@ -24,2 +24,4 @@ "license": "MIT",

"dependencies": {
"@floating-ui/core": "^0.4.0",
"@floating-ui/dom": "^0.2.0",
"@types/prosemirror-commands": "^1.0.4",

@@ -29,7 +31,7 @@ "@types/prosemirror-history": "^1.0.3",

"@types/prosemirror-keymap": "^1.0.4",
"@types/prosemirror-model": "^1.16.0",
"@types/prosemirror-model": "^1.16.1",
"@types/prosemirror-schema-list": "^1.0.3",
"@types/prosemirror-state": "^1.2.8",
"@types/prosemirror-view": "^1.19.2",
"prosemirror-commands": "^1.1.12",
"@types/prosemirror-view": "^1.23.1",
"prosemirror-commands": "^1.2.1",
"prosemirror-history": "^1.2.0",

@@ -41,3 +43,3 @@ "prosemirror-inputrules": "^1.1.3",

"prosemirror-state": "^1.3.4",
"prosemirror-view": "^1.23.5",
"prosemirror-view": "^1.23.6",
"tslib": "^2.3.0"

@@ -44,0 +46,0 @@ },

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