Closed przemekpobuta closed 5 years ago
Hi @przemekpobuta - you should now be able to import NgxEditorJSComponentModule
which is the component minus any Material dependencies. Thanks for catching this, I'm building mostly for material so I missed this.
Hi @tanepiper - still has error. Is it imported like this?
NgxEditorJSComponentModule.forRoot({ editorjs: { autofocus: false, holder: 'editor', initialBlock: 'paragraph', data: { time: Date.now(), version: '2.15.0', blocks: [] } } })
@whyour Thanks for the report, I won't be able to look at it right away I'm afraid but let me find time to test it, hopefully, it's not a regression
@whyour I am not able to reproduce this, importing the NgxEditorJSComponentModule
. Do you have some code you can share if you're still having an issue?
Hi @whyour I haven't had a reply in a week so I am closing this ticket.
Which Library? ngx-editorjs 3.0.2
Describe the bug Done "Installing and usage" instruction from README and following error appear:
ERROR in node_modules/@tinynodes/ngx-editorjs/lib/containers/editorjs-mat-field/editorjs-mat-field.component.d.ts(4,37): error TS2307: Cannot find module '@angular/material/form-field'.
To Reproduce Steps to reproduce the behavior: Follow README "Installing and usage".
Expected behavior Use ngx-editorjs without Angular Material.