mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-10 14:11:42 +00:00
AAE-37907 Move editorjs-html to dependencies (#11169)
This commit is contained in:
@@ -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
3
package-lock.json
generated
@@ -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": {
|
||||
|
@@ -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",
|
||||
|
Reference in New Issue
Block a user