tiny-markdown-editor 0.2.6 → 0.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/dist/tiny-mde.js +8 -1
- package/dist/tiny-mde.min.js +1 -1
- package/dist/tiny-mde.tiny.js +1 -1
- package/lib/TinyMDE.d.ts +108 -0
- package/lib/TinyMDE.js +1558 -0
- package/lib/TinyMDECommandBar.d.ts +35 -0
- package/lib/TinyMDECommandBar.js +329 -0
- package/lib/grammar.d.ts +77 -0
- package/lib/grammar.js +311 -0
- package/lib/index.d.ts +3 -0
- package/lib/index.js +10 -0
- package/lib/svg/svg.d.ts +2 -0
- package/lib/svg/svg.js +21 -0
- package/lib/tiny.d.ts +2 -0
- package/lib/tiny.js +8 -0
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -363,9 +363,11 @@ npm install
|
|
|
363
363
|
npm run build
|
|
364
364
|
```
|
|
365
365
|
|
|
366
|
-
The latter command generates the `dist`
|
|
366
|
+
The latter command generates the `dist` and `lib` directories. You will find the following files there:
|
|
367
367
|
|
|
368
368
|
- `dist/tiny-mde.css` and `dist/tiny-mde.min.css`: CSS files to style the editor. These can be edited at will to make the editor look like you want to. `dist/tiny-mde.min.css` has the same content as `dist/tiny-mde.css`, it's just minified. You will only need to use one of the files on your page. If you want to edit the CSS file, it's easier to edit `dist/tiny-mde.css` and then minify the edited version.
|
|
369
369
|
- `dist/tiny-mde.js`: Debug version of the editor. The JS file is not minified and contains a sourcemap. It is not recommended to use this in production settings, since the file is large.
|
|
370
370
|
- `dist/tiny-mde.min.js`: Minified JS file for most use cases. Simply copy this to your project to use it.
|
|
371
371
|
- `dist/tiny-mde.tiny.js`: Minified and stripped-down JS file. Contains only the editor itself, not the toolbar.
|
|
372
|
+
- `lib/*.js`: Plain JavaScript versions of the code, transpiled from the TypeScript source, for use by bundlers.
|
|
373
|
+
- `lib/*.d.ts`: TypeScript type declarations.
|