Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 804 Bytes

File metadata and controls

27 lines (20 loc) · 804 Bytes

Structure plugin

This documentation is a work in progress. It's possible that better information can be found in the embeddable editor documentation.

Prosemirror node-specs

This plugin defines the following node-specs and node-views, which need to be added to the Prosemirror schema for it to work correctly:

import {
  // These use default config
  structure,
  structureView,
  // These are identical but allow custom config
  structureWithConfig,
  structureViewWithConfig,
} from '@lblod/ember-rdfa-editor-lblod-plugins/plugins/structure-plugin/node';

Styling

Nodes from this plugin can be styled by using the following classes:

Node Css class
structure say-structure