@phuong-tran-redoc/document-engine-angular 0.1.6 → 0.1.8
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
CHANGED
|
@@ -245,13 +245,9 @@ nx lint @phuong-tran-redoc/document-engine-angular # lint
|
|
|
245
245
|
|
|
246
246
|
---
|
|
247
247
|
|
|
248
|
-
## 👤
|
|
248
|
+
## 👤 Authors
|
|
249
249
|
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
- 💼 [LinkedIn](https://www.linkedin.com/in/tdp1999/)
|
|
253
|
-
- 🐙 [GitHub](https://github.com/tdp1999)
|
|
254
|
-
- 📧 [Email](mailto:tdp99.business@gmail.com)
|
|
250
|
+
See [AUTHORS.md](https://github.com/phuong-tran-redoc/document-engine/blob/main/AUTHORS.md).
|
|
255
251
|
|
|
256
252
|
---
|
|
257
253
|
|
|
@@ -3,27 +3,27 @@ import { DOCUMENT, CommonModule } from '@angular/common';
|
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
4
|
import { inject, ElementRef, Input, Directive, Injectable, ApplicationRef, createComponent, HostBinding, InjectionToken, Renderer2, ChangeDetectorRef, forwardRef, ChangeDetectionStrategy, Component, ViewEncapsulation, EventEmitter, Output, HostListener, ContentChildren, ViewChild, ViewChildren, NgZone, ViewContainerRef, EnvironmentInjector, NgModule } from '@angular/core';
|
|
5
5
|
import { Extension, Editor } from '@tiptap/core';
|
|
6
|
-
import Blockquote from '@tiptap/extension-blockquote';
|
|
7
|
-
import Bold from '@tiptap/extension-bold';
|
|
8
|
-
import Code from '@tiptap/extension-code';
|
|
9
|
-
import CodeBlock from '@tiptap/extension-code-block';
|
|
6
|
+
import { Blockquote } from '@tiptap/extension-blockquote';
|
|
7
|
+
import { Bold } from '@tiptap/extension-bold';
|
|
8
|
+
import { Code } from '@tiptap/extension-code';
|
|
9
|
+
import { CodeBlock } from '@tiptap/extension-code-block';
|
|
10
10
|
import { Document } from '@tiptap/extension-document';
|
|
11
11
|
import { HardBreak } from '@tiptap/extension-hard-break';
|
|
12
12
|
import { HorizontalRule } from '@tiptap/extension-horizontal-rule';
|
|
13
13
|
import { Image } from '@tiptap/extension-image';
|
|
14
|
-
import Italic from '@tiptap/extension-italic';
|
|
15
|
-
import Link from '@tiptap/extension-link';
|
|
14
|
+
import { Italic } from '@tiptap/extension-italic';
|
|
15
|
+
import { Link } from '@tiptap/extension-link';
|
|
16
16
|
import { ListKeymap, ListItem, BulletList } from '@tiptap/extension-list';
|
|
17
17
|
import { Paragraph } from '@tiptap/extension-paragraph';
|
|
18
|
-
import Strike from '@tiptap/extension-strike';
|
|
18
|
+
import { Strike } from '@tiptap/extension-strike';
|
|
19
19
|
import { Subscript } from '@tiptap/extension-subscript';
|
|
20
20
|
import { Superscript } from '@tiptap/extension-superscript';
|
|
21
21
|
import { Text } from '@tiptap/extension-text';
|
|
22
22
|
import { TextAlign } from '@tiptap/extension-text-align';
|
|
23
23
|
import { TextStyleKit } from '@tiptap/extension-text-style';
|
|
24
|
-
import Underline from '@tiptap/extension-underline';
|
|
24
|
+
import { Underline } from '@tiptap/extension-underline';
|
|
25
25
|
import { Dropcursor, Gapcursor, TrailingNode, UndoRedo, CharacterCount, Placeholder } from '@tiptap/extensions';
|
|
26
|
-
import { ResetOnEnter, EditableRegion, RestrictedEditing, CustomOrderedList, StyledTableKit, ImageRef, PageBreak, ResetFormat, Indent, ClearContent, TextCase, NotumHeading, DynamicField, Color, normalizeColor, getActiveMarkRange, getSelectedCells, getCombinedCellAttributeValue, TableDefaultAttributes, getCursorCellInfo, getClosestDomElement } from '@phuong-tran-redoc/document-engine-core';
|
|
26
|
+
import { ResetOnEnter, EditableRegion, RestrictedEditing, CustomOrderedList, StyledTableKit, ImageRef, PageBreak, ResetFormat, Indent, ClearContent, TextCase, NotumHeading, DynamicField, CkCompat, Color, normalizeColor, getActiveMarkRange, getSelectedCells, getCombinedCellAttributeValue, TableDefaultAttributes, getCursorCellInfo, getClosestDomElement } from '@phuong-tran-redoc/document-engine-core';
|
|
27
27
|
import { BubbleMenuPlugin } from '@tiptap/extension-bubble-menu';
|
|
28
28
|
import * as i2 from '@angular/forms';
|
|
29
29
|
import { NG_VALUE_ACCESSOR, FormsModule, FormControl, ReactiveFormsModule, FormBuilder, Validators, NonNullableFormBuilder } from '@angular/forms';
|
|
@@ -113,6 +113,7 @@ const DocumentEngineKit = Extension.create({
|
|
|
113
113
|
add(options.textCase, TextCase);
|
|
114
114
|
add(options.heading, NotumHeading);
|
|
115
115
|
add(options.dynamicField, DynamicField);
|
|
116
|
+
add(options.ckCompat, CkCompat);
|
|
116
117
|
return extensions;
|
|
117
118
|
},
|
|
118
119
|
});
|