fix editor start with src and dist using es-dev-server
This commit is contained in:
4
dist/editor/extensions/ext-helloworld.js
vendored
4
dist/editor/extensions/ext-helloworld.js
vendored
@@ -1683,13 +1683,13 @@ var extHelloworld = {
|
||||
name: strings.name,
|
||||
// For more notes on how to make an icon file, see the source of
|
||||
// the helloworld-icon.xml
|
||||
svgicons: svgEditor.curConfig.extIconsPath + 'helloworld-icon.xml',
|
||||
svgicons: 'helloworld-icon.xml',
|
||||
// Multiple buttons can be added in this array
|
||||
buttons: [{
|
||||
// Must match the icon ID in helloworld-icon.xml
|
||||
id: 'hello_world',
|
||||
// Fallback, e.g., for `file:///` access
|
||||
icon: svgEditor.curConfig.extIconsPath + 'helloworld.png',
|
||||
icon: 'helloworld.png',
|
||||
// This indicates that the button will be added to the "mode"
|
||||
// button panel on the left side
|
||||
type: 'mode',
|
||||
|
||||
Reference in New Issue
Block a user