我无法找到一种方法来更改内置于AllouUI Widget中的Ace-Editor。下面的例子是我想用主题属性实现的。AlloyUI Ace-Editor主题变更
YUI().use( 'aui-ace-autocomplete-base', function(Y) { var editor = new Y.AceEditor( { boundingBox: '#myEditor', height: '200', mode: 'python', value: 'print("Hello there!!!")', width: '700', theme: 'chaos' } ).render();
不幸的是,在代码中没有预定义的方式,我看到改变主题。
有没有办法将主题更改为alloyui的widget的ace编辑器?