Skip to content

Version 1.1

What it does

This plugin is used on footnotes or footnote like elements. Configured elements will collapse if not selected, and expand as soon as the cursor is placed in them.

Installation

First you have to switch into your project location using the command line.

cd path/to/your/project

Then you can install the plugin as follows:

npm install @xeditor/plugin-footnote --save --registry https://npm.xeditor.com:4873

Configuration

The demo configuration of the plugin looks like this:

{
    pluginId: 'footnote',
    ptype: 'uxxeditorfootnote',
    elementTypes: ['footnote']
}

This results into the following: - when element footnote is not selected, it will collapse and its content will be hidden - when element footnote is selected, it will expand and its content will be shown

API

The API for the plugin can be found here: footnote plugin API

Changelog

v1.1.0

Changes

  • Added optional break handling for leaving footnote element after return on empty paragraphs