Création d’un plug-in combiné de barre d’outils et de groupe de fonctions HTML
Avec un seul fichier manifest.json, vous pouvez initialiser une barre d’outils et un groupe de fonctions HTML, offrant une variété d’outils et de types d’interface utilisateur, tous chargés à partir du même répertoire.
{
"PluginName": "Name...",
"PluginDescription": "Description...",
"ToolbarEntry": "index.html", <-- This is the "main entry" used to load/define all code used by your toolbar buttons
"ToolbarButtons": [ <-- Contains an entry for each toolbar button
{
"iconText": "TB",
"iconURL": "circle.png",
"command": "window.AlertFormItVersion" <-- Javascript that will run in the document defined by ToolbarEntry
},
{
"iconText": "CB",
"iconURL": "block.png",
"command": "window.CreateBlock"
}
],
"Panel": "panel.html", <-- Panel entry point
"PanelIcon": "block.png" <-- Icon for your panel button
}
PreviousCréation d’un plug-in de groupe de fonctions HTMLNextCréation d’un plug-in basé sur une barre d’outils
Last updated