OneThirdの標準エディタ(tryItEditor)に任意のコマンドボタンを追加する方法
ot.editor_toolbar
にjavascriptのコマンドを書けば、編集画面、ポップアップ編集どちらにもコマンドボタンを追加できます
files/1/plugin.php
に以下のようなコードを書けばOK
if (check_right()) {
$html['meta'][] = <<<EOT
echo error->
window.ot = window.ot || {};
ot.editor_toolbar = "<input type='button' onclick='ot.open_uploader({group:\".images\", select:function(obj){ot.editor.insertimg(obj)}})' class='onethird-button mini' value='theme image' />";
</script>
EOT;
}