@seyamali/aurelia-editor 0.1.2 → 0.1.4
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/README.md +27 -45
- package/dist/aurelia-editor.js +1 -1
- package/dist/aurelia-editor.umd.cjs +69 -69
- package/dist/{code-block-popover-ui-Dl0KTQU2.js → code-block-popover-ui-W3roaHxo.js} +1 -1
- package/dist/core/engine.d.ts +9 -0
- package/dist/{horizontal-rule-plugin-BvOhdDoO.js → horizontal-rule-plugin-DAMp-RQD.js} +1 -1
- package/dist/{index-CGFUKES8.js → index-C42uz2Y9.js} +2428 -2339
- package/dist/plugins/advanced/raw-html-node.d.ts +20 -0
- package/dist/{state-logic-E5_4M6Ok.js → state-logic-CqZk3p3d.js} +1 -1
- package/dist/{table-popover-ui-BK7rJJBj.js → table-popover-ui-Bw-6zN8p.js} +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { DecoratorNode, NodeKey, SerializedLexicalNode, Spread, DOMConversionMap, DOMExportOutput } from 'lexical';
|
|
2
|
+
export type SerializedRawHtmlNode = Spread<{
|
|
3
|
+
html: string;
|
|
4
|
+
tag: string;
|
|
5
|
+
}, SerializedLexicalNode>;
|
|
6
|
+
export declare class RawHtmlNode extends DecoratorNode<HTMLElement> {
|
|
7
|
+
__html: string;
|
|
8
|
+
__tag: string;
|
|
9
|
+
static getType(): string;
|
|
10
|
+
static clone(node: RawHtmlNode): RawHtmlNode;
|
|
11
|
+
constructor(html: string, tag: string, key?: NodeKey);
|
|
12
|
+
static importJSON(serializedNode: SerializedRawHtmlNode): RawHtmlNode;
|
|
13
|
+
exportJSON(): SerializedRawHtmlNode;
|
|
14
|
+
createDOM(): HTMLElement;
|
|
15
|
+
updateDOM(): false;
|
|
16
|
+
decorate(): HTMLElement;
|
|
17
|
+
static importDOM(): DOMConversionMap | null;
|
|
18
|
+
exportDOM(): DOMExportOutput;
|
|
19
|
+
}
|
|
20
|
+
export declare function $createRawHtmlNode(html: string, tag: string): RawHtmlNode;
|
|
@@ -3,7 +3,7 @@ import { $getNearestNodeOfType as b } from "@lexical/utils";
|
|
|
3
3
|
import { $isHeadingNode as O, $isQuoteNode as M } from "@lexical/rich-text";
|
|
4
4
|
import { ListNode as f } from "@lexical/list";
|
|
5
5
|
import { LinkNode as k } from "@lexical/link";
|
|
6
|
-
import { I as A, $ as _ } from "./index-
|
|
6
|
+
import { I as A, $ as _ } from "./index-C42uz2Y9.js";
|
|
7
7
|
import { $isTableNode as v } from "@lexical/table";
|
|
8
8
|
function U(s) {
|
|
9
9
|
const p = () => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { $getSelection as v, $isRangeSelection as f, SELECTION_CHANGE_COMMAND as R, COMMAND_PRIORITY_LOW as B } from "lexical";
|
|
2
2
|
import { $isTableSelection as m, $unmergeCell as T, $isTableCellNode as C, $mergeCells as _, $isTableNode as y, $deleteTableColumn__EXPERIMENTAL as h, $deleteTableRow__EXPERIMENTAL as $, $insertTableColumn__EXPERIMENTAL as I, $insertTableRow__EXPERIMENTAL as L } from "@lexical/table";
|
|
3
|
-
import { I as r } from "./index-
|
|
3
|
+
import { I as r } from "./index-C42uz2Y9.js";
|
|
4
4
|
const l = {
|
|
5
5
|
insertRowAbove: (e) => {
|
|
6
6
|
e.getInternalEditor().update(() => {
|