Today I have published my first full Angular module -
@tinynodes/ngx-editorjs on NPM.
The module is a set of features for Angular (7+) to create and control EditorJS instances.
The library exports several features once the
NgxEditorJSModule has been included in your project.
This is the main directive which can be used on any element with the
[ngxEditorJS] selector and and
This will handle creating the editor instance via the
This component can be used in any Angular component using the
<ngx-editorjs> tag. Again this component can take a set of blocks, it also provides a
holder input for overriding the ID.
This service provides handling the life-cycle of the EditorJS instances, and exposes the underlying EditorJS API - in future releases more of the API will be exposed via service methods to make controlling the container easier.
The module is configurable and allows EditorJS plugins to be injected into the library - (see README.md) on how to do this in a AOT-friendly way.
Before release I had to resolve an issue with AOT compiling and injecting EditorJS plugins - this means version
1.1.0 has already been released - now this is resolved I want support additional feature in the editor, as well as provide unit test coverage and better documentation and demo.
If you find any issues or have feature requests these can be left on the GitHub Issues page.