From 2f53405354c875a87d67ca553825d43a0d9b19f5 Mon Sep 17 00:00:00 2001 From: Sibiraj <20282546+sibiraj-s@users.noreply.github.com> Date: Thu, 28 Nov 2024 11:34:58 +0530 Subject: [PATCH] chore: cleanup standalone flag --- README.md | 1 - projects/ngx-tiptap/src/lib/draggable.directive.ts | 1 - projects/ngx-tiptap/src/lib/editor.directive.ts | 1 - projects/ngx-tiptap/src/lib/floating-menu.directive.ts | 1 - projects/ngx-tiptap/src/lib/node-view-content.directive.ts | 1 - projects/ngx-tiptap/src/lib/node-view.component.ts | 1 - 6 files changed, 6 deletions(-) diff --git a/README.md b/README.md index ca25087..c8a8af3 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,6 @@ import { TiptapEditorDirective } from 'ngx-tiptap'; selector: 'app-root', template: './app.component.html', imports: [CommonModule, FormsModule, TiptapEditorDirective], - standalone: true, }) export class AppComponent implements OnDestroy { editor = new Editor({ diff --git a/projects/ngx-tiptap/src/lib/draggable.directive.ts b/projects/ngx-tiptap/src/lib/draggable.directive.ts index b129c22..eed6b0e 100644 --- a/projects/ngx-tiptap/src/lib/draggable.directive.ts +++ b/projects/ngx-tiptap/src/lib/draggable.directive.ts @@ -2,7 +2,6 @@ import { Directive, HostBinding } from '@angular/core'; @Directive({ selector: '[tiptapDraggable]', - standalone: true, }) export class TiptapDraggableDirective { @HostBinding('attr.draggable') draggable = true; diff --git a/projects/ngx-tiptap/src/lib/editor.directive.ts b/projects/ngx-tiptap/src/lib/editor.directive.ts index c96006b..6c2b301 100644 --- a/projects/ngx-tiptap/src/lib/editor.directive.ts +++ b/projects/ngx-tiptap/src/lib/editor.directive.ts @@ -12,7 +12,6 @@ import { Content, Editor, type EditorEvents } from '@tiptap/core'; useExisting: forwardRef(() => TiptapEditorDirective), multi: true, }], - standalone: true, }) export class TiptapEditorDirective implements OnInit, AfterViewInit, ControlValueAccessor { diff --git a/projects/ngx-tiptap/src/lib/floating-menu.directive.ts b/projects/ngx-tiptap/src/lib/floating-menu.directive.ts index d4cac67..d9e50b4 100644 --- a/projects/ngx-tiptap/src/lib/floating-menu.directive.ts +++ b/projects/ngx-tiptap/src/lib/floating-menu.directive.ts @@ -7,7 +7,6 @@ import { FloatingMenuPlugin, FloatingMenuPluginProps } from '@tiptap/extension-f @Directive({ selector: 'tiptap-floating-menu[editor], [tiptapFloatingMenu][editor]', - standalone: true, }) export class TiptapFloatingMenuDirective implements OnInit, OnDestroy { diff --git a/projects/ngx-tiptap/src/lib/node-view-content.directive.ts b/projects/ngx-tiptap/src/lib/node-view-content.directive.ts index ae85306..c5a9da1 100644 --- a/projects/ngx-tiptap/src/lib/node-view-content.directive.ts +++ b/projects/ngx-tiptap/src/lib/node-view-content.directive.ts @@ -2,7 +2,6 @@ import { Directive, HostBinding } from '@angular/core'; @Directive({ selector: '[tiptapNodeViewContent]', - standalone: true, }) export class TiptapNodeViewContentDirective { @HostBinding('attr.data-node-view-content') handle = ''; diff --git a/projects/ngx-tiptap/src/lib/node-view.component.ts b/projects/ngx-tiptap/src/lib/node-view.component.ts index b026005..b112da7 100644 --- a/projects/ngx-tiptap/src/lib/node-view.component.ts +++ b/projects/ngx-tiptap/src/lib/node-view.component.ts @@ -6,7 +6,6 @@ type NodeViewPropsWithoutInputs = Omit; @Component({ template: '', - standalone: false, }) export class AngularNodeViewComponent implements NodeViewPropsWithoutInputs { readonly editor = input.required();