add more native plugin && auto set the content if native send the reqeust

pull/1/head
yann300 5 years ago committed by François
parent 042bce7644
commit 34a9d99631
  1. 4
      src/app/files/fileManager.js
  2. 2
      src/remixAppManager.js

@ -165,6 +165,10 @@ class FileManager extends Plugin {
toaster.hide()
}
if (this.currentRequest) {
if (this.currentRequest.fromNative) {
this._setFileInternal(path, content)
return
}
let actions = (toaster) => {
return yo`
<div class="container ml-1">

@ -11,7 +11,7 @@ const requiredModules = [ // services + layout views + system views
const settings = {
permissionHandler: new PermissionHandler(),
autoActivate: false,
natives: ['vyper'] // Force iframe plugin to be seen as native
natives: ['vyper', 'workshops', 'ethdoc', 'etherscan'] // Force iframe plugin to be seen as native
}
export class RemixAppManager extends PluginEngine {

Loading…
Cancel
Save