Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 866 Bytes

File metadata and controls

28 lines (21 loc) · 866 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 {
  snippet,
  snippetView,
} from '@lblod/ember-rdfa-editor-lblod-plugins/plugins/snippet-plugin/nodes/snippet';
import {
  snippetPlaceholder,
  snippetPlaceholderView,
} from '@lblod/ember-rdfa-editor-lblod-plugins/plugins/snippet-plugin/nodes/snippet-placeholder';

Styling

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

Node Css class
snippet say-snippet
snippetPlaceholder say-snippet