AAE-37907 Move editorjs-html to dependencies (#11169)

This commit is contained in:
Wojciech Duda
2025-09-04 13:23:35 +02:00
committed by GitHub
parent f1fea0a70b
commit ea81fcd6ad
3 changed files with 6 additions and 4 deletions

View File

@@ -16,13 +16,16 @@
*/
import edjsHTML from 'editorjs-html';
import { Injectable } from '@angular/core';
export interface OutputData {
version?: string;
time?: number;
blocks: any[];
}
@Injectable({
providedIn: 'root'
})
export class RichTextParserService {
private static readonly CUSTOM_PARSER = {
header: (block: any): string => {

3
package-lock.json generated
View File

@@ -32,6 +32,7 @@
"cropperjs": "1.6.2",
"date-fns": "^2.30.0",
"dotenv-expand": "^5.1.0",
"editorjs-html": "^4.0.5",
"eventemitter3": "^5.0.1",
"graphql-ws": "^6.0.5",
"material-icons": "^1.13.12",
@@ -90,7 +91,6 @@
"ajv": "^8.12.0",
"commander": "12.0.0",
"dotenv": "16.4.7",
"editorjs-html": "4.0.5",
"ejs": "^3.1.10",
"eslint": "^8.47.0",
"eslint-config-prettier": "10.1.2",
@@ -21968,7 +21968,6 @@
"version": "4.0.5",
"resolved": "https://registry.npmjs.org/editorjs-html/-/editorjs-html-4.0.5.tgz",
"integrity": "sha512-ImQYxB3fNCJcd+nJ+Vbne/6PxidO1cYByNpu9nBDStVabfjVrMW65BuR+IEZfOii8VKYH+CW/lYDb2GDlzZtDg==",
"dev": true,
"license": "MIT"
},
"node_modules/ee-first": {

View File

@@ -52,6 +52,7 @@
"cropperjs": "1.6.2",
"date-fns": "^2.30.0",
"dotenv-expand": "^5.1.0",
"editorjs-html": "^4.0.5",
"eventemitter3": "^5.0.1",
"graphql-ws": "^6.0.5",
"material-icons": "^1.13.12",
@@ -110,7 +111,6 @@
"ajv": "^8.12.0",
"commander": "12.0.0",
"dotenv": "16.4.7",
"editorjs-html": "4.0.5",
"ejs": "^3.1.10",
"eslint": "^8.47.0",
"eslint-config-prettier": "10.1.2",