Files
tiptap/docs/src/docPages/api/marks/text-style.md
Philipp Kühn a23c3a0196 rename
2020-11-06 16:39:30 +01:00

635 B
Raw Blame History

TextStyle

This mark renders a <span> HTML tag and enables you to add a list of styling related attributes, for example font-family, font-size, or font-color. The extension doesnt add any styling attribute by default, but other extensions use it as the foundation, for example FontFamily.

Installation

# with npm
npm install @tiptap/extension-text-style

# with Yarn
yarn add @tiptap/extension-text-style

Source code

packages/extension-text-style/

Usage