@remirror/extension-font-size

Add font size to the selected text, or text within the provided range.

Usage no npm install needed!

<script type="module">
  import remirrorExtensionFontSize from 'https://cdn.skypack.dev/@remirror/extension-font-size';
</script>

README

@remirror/extension-font-size

Add font size to the selected text, or text within the provided range.

Version Weekly Downloads Bundled size Typed Codebase MIT License

Installation

# yarn
yarn add @remirror/extension-font-size

# pnpm
pnpm add @remirror/extension-font-size

# npm
npm install @remirror/extension-font-size

Usage

The following code creates an instance of this extension.

import { FontSizeExtension } from '@remirror/extension-font-size';

const extension = new FontSizeExtension();