User:SamanthaNguyen/Extending VisualEditor

This guide is intended to help you integrate with VisualEditor for allowing to insert a custom parser tag that's registered by your extension. This guide is still a draft, so stay tuned.

Extending VisualEditor
If your extension's tag:
 * Inserts a block-level element : Extend and
 * Inserts an inline-level element : Extend and

Custom ContentEditable node
This file should be located at.

Custom DataModel node
This file should be located at.

Custom fragment inspector
This file should be located at.

Custom fragment inspector tool
This file should be located at.

Register your modules
This step, you will be registering your ResourceLoader module in your extension.json file.

ResourceModules
First, register your new ResourceLoader module under ResourceModules:

VisualEditorPluginModules
Then you must register your ResourceLoader module for VisualEditor via VisualEditorPluginModules: