Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BP-1083: Remove Ckeditor from entry building blocks #224

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 1 addition & 16 deletions apps/demo-app/src/app/examples/form/form-example.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ import { TextareaExampleComponent } from './textarea/textarea-example.component'
import { CheckboxExampleComponent } from './checkbox/checkbox-example.component';
import { RadioExampleComponent } from './radio/radio-example.component';
import { ProductsGeneratedModule } from './form-example/generated/products-generated.module';
import { RichTextExampleComponent } from './rich-text/rich-text-example.component';
import { ENTRY_CKEDITOR_OPTIONS, FormlyCkeditorModule } from '@enigmatry/entry-form/ckeditor';
import ClassicEditor from '@ckeditor/ckeditor5-build-classic';
import { FormlyDateTimePickerModule } from '@enigmatry/entry-form/date-time-picker';
import { DateTimePickerExampleComponent } from './date-time-picker/date-time-picker-example.component';

Expand All @@ -28,7 +25,6 @@ import { DateTimePickerExampleComponent } from './date-time-picker/date-time-pic
TextareaExampleComponent,
CheckboxExampleComponent,
RadioExampleComponent,
RichTextExampleComponent,
DateTimePickerExampleComponent
],
imports: [
Expand All @@ -40,7 +36,6 @@ import { DateTimePickerExampleComponent } from './date-time-picker/date-time-pic
FormlyMaterialModule,
FormlyAutocompleteModule,
FormlyMatDatepickerModule,
FormlyCkeditorModule,
FormlyDateTimePickerModule,
FormlyModule.forChild({
types: [
Expand All @@ -66,20 +61,10 @@ import { DateTimePickerExampleComponent } from './date-time-picker/date-time-pic
TextareaExampleComponent,
CheckboxExampleComponent,
RadioExampleComponent,
RichTextExampleComponent,
DateTimePickerExampleComponent
],
providers: [
{ provide: MAT_FORM_FIELD_DEFAULT_OPTIONS, useValue: { appearance: 'outline' } },
{
provide: ENTRY_CKEDITOR_OPTIONS,
useValue: {
build: ClassicEditor,
config: {
toolbar: ['bold', 'italic', 'bulletedList', 'numberedList', 'blockQuote', 'link']
}
}
}
{ provide: MAT_FORM_FIELD_DEFAULT_OPTIONS, useValue: { appearance: 'outline' } }
]
})
export class FormExampleModule { }

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,6 @@
[showTs]="false">
<app-textarea-example></app-textarea-example>
</app-example-viewer>
<app-example-viewer
title="RichText"
component="form\rich-text\rich-text-example.component"
[showDocs]="true"
[showHtml]="false"
[showTs]="false">
<app-rich-text-example></app-rich-text-example>
</app-example-viewer>
<app-example-viewer
title="Checkbox"
component="form\checkbox\checkbox-example.component"
Expand Down
9 changes: 0 additions & 9 deletions libs/entry-form/ckeditor/ckeditor-options.ts

This file was deleted.

7 changes: 0 additions & 7 deletions libs/entry-form/ckeditor/formly-ckeditor.component.html

This file was deleted.

34 changes: 0 additions & 34 deletions libs/entry-form/ckeditor/formly-ckeditor.component.ts

This file was deleted.

33 changes: 0 additions & 33 deletions libs/entry-form/ckeditor/formly-ckeditor.module.ts

This file was deleted.

5 changes: 0 additions & 5 deletions libs/entry-form/ckeditor/ng-package.json

This file was deleted.

3 changes: 0 additions & 3 deletions libs/entry-form/ckeditor/public-api.ts

This file was deleted.

Loading