Skip to content

Usage

tsx
import { Color } from 'reactjs-tiptap-editor'; 

const extensions = [
  ...,
  // Import Extensions Here
  Color 
];

Options

colors

Type: string[]
Default: undefined

An array of color options to display in the color picker. If not provided, a default set of colors will be used.

js
import { COLORS_LIST } from 'reactjs-tiptap-editor';

defaultColor

Type: string
Default: undefined

js
import { DEFAULT_COLOR } from 'reactjs-tiptap-editor';

Source

SourceDocs

Contributors

Changelog

v0.0.10 on 8/19/2024
61e81 - feat(Color): Add options support for Color extension
v0.0.9 on 8/18/2024
d436d - feat: support dynamic rendering of bubble menu and remove bubble option

Made with ❤️