psmb/footnote

Last activity on 5 May 2021
  • 3
  • 1
  • 519
composer require psmb/footnote

Footnotes CKeditor5 plugin for Neos CMS

0.3

Footnotes CKeditor5 plugin for Neos CMS

Version
0.3
Type
neos-package
Release Date
26.11.2019 12:48:49
Source
git
Distribution
zip
Requires
Requires (dev)
None
Suggest
None
Provides
None
Conflicts
None
Replaces
None
MIT ef23cea5772bf6370b1f44c13bdc22783ca07c14

This package provides a footnote plugin for CKeditor5 integraion in Neos CMS.

footnotes

Installation

  1. Switch to using CKeditor 5
  2. composer require 'psmb/footnote'
  3. Enable footnote button on node properties that should support it, e.g.:
'Neos.NodeTypes:TextMixin':
  properties:
    text:
      ui:
        inline:
          editorOptions:
            formatting:
              footnote: true
  1. Add Fusion processor over the needed content collection, from which the footnotes should be gathered and rendered (or write your own Fusion or JS solution), e.g.:
prototype(Neos.Neos:PrimaryContent) {
  @process.footnotes = Psmb.Footnote:FootnoteProcessor
}
  1. Optionally add some styling to footnotes in backend, e.g.:
.neos-backend span[data-footnote]:after {
  content: '*';
  color: orange;
  border-bottom: orange solid 1px;
}
The content of the readme is provided by Github
The same vendor provides 13 package(s).