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

@ckeditor/ckeditor5-angular

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckeditor/ckeditor5-angular - npm Package Compare versions

Comparing version 5.2.0 to 6.0.0-alpha.0

16

CHANGELOG.md
Changelog
=========
## [6.0.0-alpha.0](https://github.com/ckeditor/ckeditor5-angular/compare/v5.2.0...v6.0.0-alpha.0) (2023-03-30)
### BREAKING CHANGES
* Due to rewriting to TypeScript, the component requires CKEditor 5 typings that are available in version 37 or higher. See ckeditor/ckeditor5#11704.
* Upgraded the minimal versions of Node.js to `16.0.0` due to the end of LTS.
### Features
* Migrate package to TypeScript. Closes [ckeditor/ckeditor5#13541](https://github.com/ckeditor/ckeditor5/issues/13541). ([commit](https://github.com/ckeditor/ckeditor5-angular/commit/a8342c91d35c53bdbdaadb1303a5486f848fc8aa))
### Other changes
* Updated the required version of Node.js to 16. ([commit](https://github.com/ckeditor/ckeditor5-angular/commit/47cf02ddb7f450d3da6067848eded478984c8a04))
## [5.2.0](https://github.com/ckeditor/ckeditor5-angular/compare/v5.1.1...v5.2.0) (2023-03-02)

@@ -5,0 +21,0 @@

36

ckeditor.component.d.ts

@@ -7,17 +7,21 @@ /**

import { NgZone, EventEmitter, ElementRef } from '@angular/core';
import WatchdogConfig from '@ckeditor/ckeditor5-watchdog/src/watchdog';
import { ContextWatchdog } from '@ckeditor/ckeditor5-watchdog';
import { WatchdogConfig } from '@ckeditor/ckeditor5-watchdog/src/watchdog';
import { type Editor, EditorConfig } from '@ckeditor/ckeditor5-core';
import type { GetEventInfo } from '@ckeditor/ckeditor5-utils';
import type { DocumentChangeEvent } from '@ckeditor/ckeditor5-engine';
import type { ViewDocumentBlurEvent, ViewDocumentFocusEvent } from '@ckeditor/ckeditor5-engine/src/view/observer/focusobserver';
import type { ControlValueAccessor } from '@angular/forms';
import { CKEditor5 } from './ckeditor';
import * as i0 from "@angular/core";
export interface BlurEvent {
event: CKEditor5.EventInfo<'blur'>;
editor: CKEditor5.Editor;
event: GetEventInfo<ViewDocumentBlurEvent>;
editor: Editor;
}
export interface FocusEvent {
event: CKEditor5.EventInfo<'focus'>;
editor: CKEditor5.Editor;
event: GetEventInfo<ViewDocumentFocusEvent>;
editor: Editor;
}
export interface ChangeEvent {
event: CKEditor5.EventInfo<'change:data'>;
editor: CKEditor5.Editor;
event: GetEventInfo<DocumentChangeEvent>;
editor: Editor;
}

@@ -33,3 +37,5 @@ export declare class CKEditorComponent implements AfterViewInit, OnDestroy, OnChanges, ControlValueAccessor {

*/
editor?: CKEditor5.EditorConstructor;
editor?: {
create(sourceElementOrData: HTMLElement | string, config?: EditorConfig): Promise<Editor>;
};
/**

@@ -40,3 +46,3 @@ * The configuration of the editor.

*/
config: CKEditor5.Config;
config: EditorConfig;
/**

@@ -56,3 +62,3 @@ * The initial data of the editor. Useful when not using the ngModel.

*/
watchdog?: CKEditor5.ContextWatchdog;
watchdog?: ContextWatchdog;
/**

@@ -68,3 +74,3 @@ * Config for the EditorWatchdog.

*
* An integrator must call `editor.getData()` manually once the application needs the editor's data.
* An integrator must call `editor.data.get()` manually once the application needs the editor's data.
* An editor instance can be received in the `ready()` callback.

@@ -85,3 +91,3 @@ */

*/
ready: EventEmitter<CKEditor5.Editor>;
ready: EventEmitter<Editor>;
/**

@@ -112,3 +118,3 @@ * Fires when the content of the editor has changed. It corresponds with the `editor.model.document#change`

*/
get editorInstance(): CKEditor5.Editor | null;
get editorInstance(): Editor | null;
/**

@@ -162,3 +168,3 @@ * The editor watchdog. It is created when the context watchdog is not passed to the component.

* Creates the editor instance, sets initial editor data, then integrates
* the editor with the Angular component. This method does not use the `editor.setData()`
* the editor with the Angular component. This method does not use the `editor.data.set()`
* because of the issue in the collaboration mode (#6).

@@ -165,0 +171,0 @@ */

@@ -5,4 +5,3 @@ /**

*/
export * from './ckeditor';
export * from './ckeditor.component';
export * from './ckeditor.module';
{
"name": "@ckeditor/ckeditor5-angular",
"version": "5.2.0",
"version": "6.0.0-alpha.0",
"description": "Official Angular component for CKEditor 5 – the best browser-based rich text editor.",

@@ -22,3 +22,3 @@ "keywords": [

"dependencies": {
"@ckeditor/ckeditor5-watchdog": "^34.0.0",
"@ckeditor/ckeditor5-watchdog": "^37.0.0-alpha.3",
"tslib": "^2.3.0"

@@ -25,0 +25,0 @@ },

@@ -38,5 +38,5 @@ # CKEditor 5 rich text editor component for Angular

<tr>
<td><code>^5</code></td>
<td><code>^6</code></td>
<td><code>13+</code></td>
<td>Requires Angular at least in version 13+. Lower versions are no longer maintained.</td>
<td>Requires CKEditor&nbsp;5 at least in version <a href="https://github.com/ckeditor/ckeditor5/releases/tag/v37.0.0">37</a>.</td>
</tr>

@@ -47,2 +47,7 @@ <tr>

<tr>
<td><code>^5</code></td>
<td><code>13+</code></td>
<td>Requires Angular at least in version 13+. Lower versions are no longer maintained.</td>
</tr>
<tr>
<td><code>^4</code></td>

@@ -49,0 +54,0 @@ <td><code>9.1+</code></td>

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc