@remirror/preset-wysiwyg

The preset for your wysiwyg editor.

Usage no npm install needed!

<script type="module">
  import remirrorPresetWysiwyg from 'https://cdn.skypack.dev/@remirror/preset-wysiwyg';
</script>

README

@remirror/preset-wysiwyg

The preset for your wysiwyg editor.

Version Weekly Downloads Bundled size Typed Codebase MIT License


Installation

# yarn
yarn add @remirror/preset-wysiwyg

# pnpm
pnpm add @remirror/preset-wysiwyg

# npm
npm install @remirror/preset-wysiwyg

This is included by default when you install the recommended remirror package. All exports are also available via the entry-point, remirror/presets.


Usage

This preset is designed to be used with the CorePreset from remirror/presets.

The following creates an instance of the preset.

import { createCoreManager, wysiwygPreset } from 'remirror/extensions';

// Create a manager which contains the wysiwyg preset.
const manager = createCoreManager(() => wysiwygPreset());