├── demo
├── .firebaserc
├── src
│ ├── assets
│ │ ├── .gitkeep
│ │ ├── .npmignore
│ │ ├── forms.png
│ │ ├── logo.svg
│ │ └── forms.svg
│ ├── app
│ │ ├── app.component.scss
│ │ ├── shared
│ │ │ ├── index.ts
│ │ │ ├── content-wrapper
│ │ │ │ ├── content-wrapper.component.scss
│ │ │ │ ├── content-wrapper.component.html
│ │ │ │ ├── content-wrapper.component.ts
│ │ │ │ └── content-wrapper.component.spec.ts
│ │ │ ├── header
│ │ │ │ ├── header.component.scss
│ │ │ │ ├── header.component.ts
│ │ │ │ ├── header.component.html
│ │ │ │ └── header.component.spec.ts
│ │ │ ├── footer
│ │ │ │ ├── footer.component.scss
│ │ │ │ ├── footer.component.ts
│ │ │ │ ├── footer.component.html
│ │ │ │ └── footer.component.spec.ts
│ │ │ └── shared.module.ts
│ │ ├── getting-started
│ │ │ ├── getting-started.component.scss
│ │ │ ├── getting-started.component.html
│ │ │ ├── getting-started-routing.module.ts
│ │ │ ├── getting-started.module.ts
│ │ │ ├── getting-started.component.ts
│ │ │ └── getting-started.component.spec.ts
│ │ ├── app.component.html
│ │ ├── home
│ │ │ ├── home.component.scss
│ │ │ ├── home-routing.module.ts
│ │ │ ├── home.module.ts
│ │ │ ├── home.component.spec.ts
│ │ │ ├── home.component.ts
│ │ │ └── home.component.html
│ │ ├── app-routing.module.ts
│ │ ├── app.component.ts
│ │ ├── app.server.module.ts
│ │ ├── app.module.ts
│ │ ├── app.component.spec.ts
│ │ └── material.module.ts
│ ├── testing
│ │ ├── index.ts
│ │ └── router-stubs.ts
│ ├── main.server.ts
│ ├── setupJest.ts
│ ├── favicon.ico
│ ├── environments
│ │ ├── environment.hmr.ts
│ │ ├── environment.prod.ts
│ │ └── environment.ts
│ ├── typings.d.ts
│ ├── _variables.scss
│ ├── browserslist
│ ├── tsconfig.spec.json
│ ├── tsconfig.app.json
│ ├── tsconfig.server.json
│ ├── hmr.ts
│ ├── test.ts
│ ├── main.ts
│ ├── styles.scss
│ ├── jestGlobalMocks.ts
│ ├── karma.conf.js
│ ├── highlight.js.scss
│ ├── index.html
│ └── polyfills.ts
├── static.paths.ts
├── proxy.conf.json
├── firebase.json
├── e2e
│ ├── tsconfig.e2e.json
│ ├── src
│ │ ├── app.po.ts
│ │ └── app.e2e-spec.ts
│ └── protractor.conf.js
├── .editorconfig
├── tsconfig.json
├── .gitignore
├── README.md
├── webpack.server.config.js
├── prerender.ts
├── server.ts
├── .firebase
│ └── hosting.ZGlzdC9icm93c2Vy.cache
├── package.json
├── tslint.json
└── angular.json
├── src
├── module
│ ├── editor
│ │ ├── toolbar
│ │ │ ├── toolbar.component.scss
│ │ │ ├── toolbar.component.ts
│ │ │ └── toolbar.component.html
│ │ ├── editor.component.html
│ │ ├── editor.component.scss
│ │ └── editor.component.ts
│ ├── service
│ │ ├── lib.service.ts
│ │ └── lib.service.spec.ts
│ ├── utils
│ │ └── index.ts
│ ├── lib.module.ts
│ ├── lib.interface.ts
│ └── material.module.ts
├── index.ts
├── tsconfig.spec.json
├── tsconfig.lib.es5.json
└── tsconfig.lib.json
├── karma.conf.js
├── webpack.config.js
├── config
├── setupJest.ts
├── jestGlobalMocks.ts
└── helpers.js
├── greenkeeper.json
├── .editorconfig
├── tsconfig.json
├── .travis.yml
├── .gitignore
├── .yo-rc.json
├── LICENSE
├── .github
└── ISSUE_TEMPLATE.md
├── CHANGELOG.md
├── tslint.json
├── package.json
├── README.md
└── gulpfile.js
/demo/.firebaserc:
--------------------------------------------------------------------------------
1 | {}
2 |
--------------------------------------------------------------------------------
/demo/src/assets/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/demo/src/assets/.npmignore:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/demo/src/app/app.component.scss:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/module/editor/toolbar/toolbar.component.scss:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/index.ts:
--------------------------------------------------------------------------------
1 | export * from './module/lib.module';
2 |
--------------------------------------------------------------------------------
/demo/src/testing/index.ts:
--------------------------------------------------------------------------------
1 | export * from './router-stubs';
--------------------------------------------------------------------------------
/demo/src/app/shared/index.ts:
--------------------------------------------------------------------------------
1 | export * from './shared.module';
--------------------------------------------------------------------------------
/demo/src/app/shared/content-wrapper/content-wrapper.component.scss:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/karma.conf.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./config/karma.conf.js');
2 |
--------------------------------------------------------------------------------
/webpack.config.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./config/webpack.test.js');
2 |
--------------------------------------------------------------------------------
/config/setupJest.ts:
--------------------------------------------------------------------------------
1 | import 'jest-preset-angular';
2 | import './jestGlobalMocks';
3 |
--------------------------------------------------------------------------------
/demo/src/main.server.ts:
--------------------------------------------------------------------------------
1 | export { AppServerModule } from './app/app.server.module';
2 |
--------------------------------------------------------------------------------
/demo/src/setupJest.ts:
--------------------------------------------------------------------------------
1 | import 'jest-preset-angular';
2 | import './jestGlobalMocks';
3 |
--------------------------------------------------------------------------------
/demo/static.paths.ts:
--------------------------------------------------------------------------------
1 | export const ROUTES = [
2 | '/',
3 | '/getting-started/',
4 | ];
5 |
--------------------------------------------------------------------------------
/demo/src/app/shared/header/header.component.scss:
--------------------------------------------------------------------------------
1 | .navbar {
2 | background: hsla(0,0%,100%,.95)
3 | }
4 |
--------------------------------------------------------------------------------
/demo/src/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaeldoye/mat-markdown-editor/HEAD/demo/src/favicon.ico
--------------------------------------------------------------------------------
/demo/src/app/getting-started/getting-started.component.scss:
--------------------------------------------------------------------------------
1 | .getting-started{
2 | margin-top: 1.0rem;
3 | }
4 |
--------------------------------------------------------------------------------
/demo/src/assets/forms.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/michaeldoye/mat-markdown-editor/HEAD/demo/src/assets/forms.png
--------------------------------------------------------------------------------
/demo/src/environments/environment.hmr.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | production: false,
3 | hmr: true
4 | };
5 |
--------------------------------------------------------------------------------
/demo/src/environments/environment.prod.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | production: true,
3 | hmr: false
4 | };
5 |
--------------------------------------------------------------------------------
/demo/src/app/app.component.html:
--------------------------------------------------------------------------------
1 |
${highlighted}`;
28 | }
29 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE.md:
--------------------------------------------------------------------------------
1 |
4 | ### Bug Report or Feature Request (mark with an `x`)
5 | ```
6 | - [ ] bug report -> please search issues before submitting
7 | - [ ] feature request
8 | ```
9 |
10 | ### OS and Version?
11 |
14 |
15 | ### Versions
16 |
20 |
21 |
22 | ### Repro steps
23 |
28 |
29 |
30 | ### The log given by the failure
31 |
32 |
33 |
34 | ### Desired functionality
35 |
39 |
40 |
41 | ### Mention any other details that might be useful
42 |
43 |
--------------------------------------------------------------------------------
/demo/src/app/shared/header/header.component.html:
--------------------------------------------------------------------------------
1 | Material design markdown editor
16 |Scroll down to see it in action!
17 | 40 |{{ form.status | json }}
60 |
2 |
3 |