yk-editor
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

ngx-yk-editor

Angular markdown editor based Monaco Editor

Usage

  • Install yk-editor
npm install yk-editor
  • Use editor component
import { YkEditorModule } from 'dist';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    YkEditorModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }
 <yk-editor [(content)]="value" (contentChange)="change($event)"></yk-editor>
  • Add style angular.json
 "styles": [
    +"node_modules/yk-editor/assets/css/yk-editor.css",
    "src/styles.css"
    ]

Readme

Keywords

none

Package Sidebar

Install

npm i yk-editor

Weekly Downloads

1

Version

1.0.5

License

none

Unpacked Size

1.02 MB

Total Files

28

Last publish

Collaborators

  • yunuskorkmaz