Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space TDDM and version 1

...

Nodes are defined by creating a class, e.g. jsoneditor_myplugin/json_editor/node/marquee.php.

Plugin example

To see how this all fits together in a working example, take a look at the example

...

weka_marquee

...

plugin:

...

https://git.totaralearning.com/projects/EXAMPLE/repos/weka_marquee/browse

This plugin implements support for the <marquee> tag in the Weka editor. This could serve as a starting point for your own plugin, or just as a reference.

You can also look at how the core Weka extensions are implemented in

...

client/component/editor_weka/src/js/extensions/.