This page lists files in the current directory. You can view content, get download/execute commands for Wget, Curl, or PowerShell, or filter the list using wildcards (e.g., `*.sh`).
wget 'https://sme10.lists2.roe3.org/kodbox/plugins/htmlEditor/app.php'
<?php
class htmlEditorPlugin extends PluginBase{
function __construct(){
parent::__construct();
}
public function regist(){
$this->hookRegist(array(
'user.commonJs.insert' => 'htmlEditorPlugin.echoJs',
));
}
public function iframe(){
// header('Content-Security-Policy: sandbox allow-scripts');// allow-same-origin 强制跨域; 导致资源无法缓存;
header('Cross-Origin-Opener-Policy: same-origin');
header('Cross-Origin-Embedder-Policy: sandbox require-corp');
echo file_get_contents($this->pluginPath.'static/iframe-proxy.html');
}
}
wget 'https://sme10.lists2.roe3.org/kodbox/plugins/htmlEditor/package.json'
{
"id":"htmlEditor",
"name":"{{LNG['htmlEditor.meta.title']}}",
"title":"{{LNG['htmlEditor.meta.title']}}",
"version":"1.11",
"source":{
"className":"x-item-icon x-html",
"icon":""
},
"category":"file",
"description":"{{LNG['htmlEditor.meta.desc']}}",
"keywords":"tinymce,html,editor",
"auther":{
"copyright":"kodcloud.",
"homePage":"http://www.kodcloud.com",
},
"configItem":{
"pluginAuth":{
"type":"userSelect",
"value":{"all":1},
"display":"{{LNG['admin.plugin.auth']}}",
"desc":"{{LNG['admin.plugin.authDesc']}}",
"require":1
},
"fileExt":{
"type":"tags",
"display":"{{LNG['admin.plugin.fileExt']}}",
"desc":"{{LNG['admin.plugin.fileExtDesc']}}",
"value":"htm,html,shtml"
},
"sep1001":"<hr/>",
"fileView":{
"type":"switch",
"display":"{{LNG['htmlEditor.app.show']}}",
"desc":"{{LNG['htmlEditor.app.showDesc']}}",
"value":"1",
"switchItem":{"1":"fileViewSort"}
},
"fileViewSort":{
"type":"number",
"display":"{{LNG['admin.plugin.fileSort']}}",
"desc":"{{LNG['admin.plugin.fileSortDesc']}}",
"value":10
},
"sep1002":"<hr/>",
"fileEdit":{
"type":"switch",
"display":"{{LNG['htmlEditor.app.edit']}}",
"desc":"{{LNG['htmlEditor.app.editDesc']}}",
"value":"1",
"switchItem":{"1":"fileEditSort"}
},
"fileEditSort":{
"type":"number",
"display":"{{LNG['admin.plugin.fileSort']}}",
"desc":"{{LNG['admin.plugin.fileSortDesc']}}",
"value":5
}
}
}