Skip to content

Commit

Permalink
Update quill documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
cetincakiroglu committed May 13, 2024
1 parent db7cfcf commit 57bed60
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/app/showcase/doc/editor/quilldoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,22 @@ import { Code } from '@domain/code';
template: `
<app-docsectiontext>
<p>Editor uses <a href="https://quilljs.com/">Quill</a> editor underneath so it needs to be installed as a dependency.</p>
<p>Also, core styles of the Quill should be imported in the project's root style file.</p>
</app-docsectiontext>
<app-code [code]="code" [hideToggleCode]="true"></app-code>
<div class="mt-3">
<app-code [code]="code2" [hideToggleCode]="true"></app-code>
</div>
`
})
export class QuillDoc {
code: Code = {
basic: `npm install quill`
};

code2: Code = {
basic: `// import Quill styles in styles.scss
@import "../node_modules/quill/dist/quill.core.css";
@import "../node_modules/quill/dist/quill.snow.css";`
};
}

0 comments on commit 57bed60

Please sign in to comment.