@kerebron/editor-browserless 0.4.26 → 0.4.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +7 -6
- package/esm/BrowserLessEditorKit.d.ts +0 -8
- package/esm/BrowserLessEditorKit.d.ts.map +0 -1
- package/esm/BrowserLessEditorKit.js +0 -19
- package/esm/mod.d.ts +0 -1
- package/esm/mod.d.ts.map +0 -1
- package/esm/mod.js +0 -1
- package/esm/package.json +0 -3
- package/esm/window.d.ts +0 -2
- package/esm/window.d.ts.map +0 -1
- package/esm/window.js +0 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kerebron/editor-browserless",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.27",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"module": "./esm/mod.js",
|
|
6
6
|
"exports": {
|
|
@@ -15,12 +15,13 @@
|
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
"scripts": {},
|
|
18
|
+
"files": [],
|
|
18
19
|
"dependencies": {
|
|
19
|
-
"@kerebron/editor": "0.4.
|
|
20
|
-
"@kerebron/extension-basic-editor": "0.4.
|
|
21
|
-
"@kerebron/extension-markdown": "0.4.
|
|
22
|
-
"@kerebron/extension-odt": "0.4.
|
|
23
|
-
"@kerebron/extension-tables": "0.4.
|
|
20
|
+
"@kerebron/editor": "0.4.27",
|
|
21
|
+
"@kerebron/extension-basic-editor": "0.4.27",
|
|
22
|
+
"@kerebron/extension-markdown": "0.4.27",
|
|
23
|
+
"@kerebron/extension-odt": "0.4.27",
|
|
24
|
+
"@kerebron/extension-tables": "0.4.27",
|
|
24
25
|
"linkedom": "0.18.12",
|
|
25
26
|
"xmldom": "0.6.0"
|
|
26
27
|
},
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AnyExtensionOrReq, Extension } from '@kerebron/editor';
|
|
2
|
-
import './window.js';
|
|
3
|
-
export declare class BrowserLessEditorKit extends Extension {
|
|
4
|
-
name: string;
|
|
5
|
-
requires: AnyExtensionOrReq[];
|
|
6
|
-
constructor();
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=BrowserLessEditorKit.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BrowserLessEditorKit.d.ts","sourceRoot":"","sources":["../src/BrowserLessEditorKit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAMhE,OAAO,aAAa,CAAC;AAErB,qBAAa,oBAAqB,SAAQ,SAAS;IACxC,IAAI,SAA4B;IACzC,QAAQ,EAAE,iBAAiB,EAAE,CAAC;;CAW/B"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Extension } from '@kerebron/editor';
|
|
2
|
-
import { ExtensionBasicEditor } from '@kerebron/extension-basic-editor/ExtensionBasicEditor';
|
|
3
|
-
import { ExtensionMarkdown } from '@kerebron/extension-markdown';
|
|
4
|
-
import { ExtensionTables } from '@kerebron/extension-tables';
|
|
5
|
-
import { ExtensionOdt } from '@kerebron/extension-odt';
|
|
6
|
-
import './window.js';
|
|
7
|
-
export class BrowserLessEditorKit extends Extension {
|
|
8
|
-
name = 'browserless-editor-kit';
|
|
9
|
-
requires;
|
|
10
|
-
constructor() {
|
|
11
|
-
super();
|
|
12
|
-
this.requires = [
|
|
13
|
-
new ExtensionBasicEditor(),
|
|
14
|
-
new ExtensionMarkdown(),
|
|
15
|
-
new ExtensionOdt(),
|
|
16
|
-
new ExtensionTables(),
|
|
17
|
-
];
|
|
18
|
-
}
|
|
19
|
-
}
|
package/esm/mod.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=mod.d.ts.map
|
package/esm/mod.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../src/mod.ts"],"names":[],"mappings":""}
|
package/esm/mod.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
package/esm/package.json
DELETED
package/esm/window.d.ts
DELETED
package/esm/window.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"window.d.ts","sourceRoot":"","sources":["../src/window.ts"],"names":[],"mappings":""}
|
package/esm/window.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// import { DOMParser } from 'jsr:@b-fuze/deno-dom'; // No xml support (mathML) https://github.com/b-fuze/deno-dom/issues?q=is%3Aissue%20state%3Aopen%20xml
|
|
2
|
-
import { DOMParser } from 'linkedom';
|
|
3
|
-
import { XMLSerializer } from 'xmldom';
|
|
4
|
-
globalThis.DOMParser = DOMParser;
|
|
5
|
-
globalThis.XMLSerializer = XMLSerializer;
|
|
6
|
-
const doc = new DOMParser().parseFromString('<html lang="en"><body></body></html>', 'text/html');
|
|
7
|
-
// const doc = new DOMParser().parseFromString('<html><body></body></html>', "application/xhtml+xml")!;
|
|
8
|
-
doc.implementation = {
|
|
9
|
-
createHTMLDocument() {
|
|
10
|
-
return new DOMParser().parseFromString('<html lang="en"><body></body></html>', 'text/html');
|
|
11
|
-
},
|
|
12
|
-
};
|
|
13
|
-
globalThis.document = doc;
|