Skip to content
/ typos Public

Typing utilities for WYSIWYG editors.

License

Notifications You must be signed in to change notification settings

chialab/typos

Repository files navigation

Typos • Typing utilities for WYSIWYG editors.

NPM


Get the library

NPM

Install via NPM or Yarn:

npm i @chialab/typos
yarn add @chialab/typos

CDN

import { fixQuotes } from 'https://unpkg.com/@chialab/typos?module';

Usage

TinyMCE

Use Typos as plugin for TinyMCE:

import tinymce from 'tinymce/tinymce';
import { tinymcePlugin } from '@chialab/typos';

tinymcePlugin(tinymce);

tinymce.init({
  selector: 'textarea',
  plugins: 'typos',
  toolbar: 'fixQuotes',
});

Development

Install the dependencies

yarn

Run the dev script to debug the library:

yarn dev

Run the build script for distribution:

yarn build

This will generate the ESM bundle in the dist folder and declaration files in the types folder.


License

Typos is released under the MIT license.

About

Typing utilities for WYSIWYG editors.

Resources

License

Stars

Watchers

Forks

Packages

No packages published