Skip to content

Commit

Permalink
chore: cleanup standalone flag
Browse files Browse the repository at this point in the history
  • Loading branch information
sibiraj-s committed Nov 28, 2024
1 parent f39eccf commit 2f53405
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down
1 change: 0 additions & 1 deletion projects/ngx-tiptap/src/lib/draggable.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { Directive, HostBinding } from '@angular/core';

@Directive({
selector: '[tiptapDraggable]',
standalone: true,
})
export class TiptapDraggableDirective {
@HostBinding('attr.draggable') draggable = true;
Expand Down
1 change: 0 additions & 1 deletion projects/ngx-tiptap/src/lib/editor.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
1 change: 0 additions & 1 deletion projects/ngx-tiptap/src/lib/floating-menu.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
1 change: 0 additions & 1 deletion projects/ngx-tiptap/src/lib/node-view-content.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '';
Expand Down
1 change: 0 additions & 1 deletion projects/ngx-tiptap/src/lib/node-view.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ type NodeViewPropsWithoutInputs = Omit<NodeViewProps, Inputs>;

@Component({
template: '',
standalone: false,
})
export class AngularNodeViewComponent implements NodeViewPropsWithoutInputs {
readonly editor = input.required<NodeViewProps['editor']>();
Expand Down

0 comments on commit 2f53405

Please sign in to comment.