Plugin Structure
#
RequirementsEach plugin should have 2 entry points for the Wrapper:
viewer.js
for theRichContentViewer
editor.js
for theRichContentEditor
For your own convenience: npm run generatePlugin
creates those files for you by default.
Each entry should export a function that generates the plugin's necessities in order to work: one for the viewer, and one for the editor.
- The Editor entry object must contain:
config
type
createPlugin
- The Viewer entry must contain:
config
type
#
ExampleEditor entry for Hashtag plugin (29.03.2020):