Skip to main content

Collapsible List Plugin

CollapsibleList plugin allows the user to add super cool collapsible list!

Add a collapsible list!

Usage#

/* Editor */
import { RicosEditor } from 'ricos-editor';
import { pluginCollapsibleList } from 'wix-rich-content-plugin-collapsible-list';
<RicosEditor plugins={[pluginCollapsibleList(CollapsibleListConfig)]} />;
/* Viewer */
import { RicosViewer } from 'ricos-viewer';
import { pluginCollapsibleList } from 'wix-rich-content-plugin-collapsible-list/viewer';
<RicosViewer plugins={[pluginCollapsibleList()]} />;

CollapsibleList Config API#

isQapageData configuration to customize CollapsibleList appearance in search results as an FAQ.#

isQapageData?: boolean;

Currently supported plugins#

For now, these are the plugins that are supported in the collapsible list and can be added when editing a cell:

  1. Text color
  2. Text highlight
  3. Indent
  4. Line spacing
  5. Link
  6. Image
  7. Video
  8. Gif
  9. Emoji
  10. File upload
  11. Divider
  12. Code block
  13. Unsupported blocks
  14. Spoiler