Post Editor Module
Registering Editor Modules
Syntax
nm.postEditorModule({
name: "unique_module_id", // Internal ID
display: "Display Name", // Shown in the editor
plugins: ["plugin1","plugin2"], // Supported plugins
compatibility: ["item","tool"], // Compatible item types
description: "Module description",
icon: yourloadedicon, // Base64 icon
type: "number", //
default: 0, // Default value
component: "ComponentName", // Modularjs component ID
});Example
Notes & Best Practices
Last updated