-
- 149 Posts
Already available through Package Manager.
[ed. note: danya_postfactum last edited this post 11 years, 4 months ago.]
Javascript error: TextArea is undefined. Line 44 of the Manager page; that is line 6 of the function.
<script>
Ext.onReady(function() {
var TextArea = Ext.getCmp('ta');
var HtmlEditor = MODx.load({
xtype: 'modx-htmleditor',
anchor: TextArea.anchor,
width: 'auto',
height: TextArea.height,
name: TextArea.name,
value: TextArea.getValue()
});
TextArea.el.dom.name = '';
TextArea.el.setStyle('display', 'none');
TextArea.getValue = function(){
return HtmlEditor.getValue();
};
HtmlEditor.render(TextArea.el.dom.parentNode);
HtmlEditor.editor.on('key', function(e){TextArea.fireEvent('keydown', e);});
});
</script>
-
- 149 Posts
Are you using AjaxManager?
[ed. note: danya_postfactum last edited this post 11 years, 5 months ago.]
Nope. Fairly stock 2.2.5 install on MAMP localhost. Same thing on a really fresh 2.2.6 install on the Cloud.
The localhost installation has ACE and a few other standard packages like Wayfinder and MIGx, and the Cloud installation has CodeMirror, Gallery, Login and Wayfinder.
-
- 149 Posts
sottwell, thanks for the bug report. Fixed and updated. There is no need to change the code for AjaxManager now.
-
- 149 Posts
Hm. What language are you using in Manager ? Can you switch to en temporary (`manager_languager`) ?
Just did a quick test of 1.0.1-beta2 on 2.2.5 and 2.2.6. I didn't run into any problems and it looks great; I'll definitely be using this.
Респект!
Fresh install of 2.2.6, immediately installed 1.0.1-beta2, and got the above error. English installation.
Ok, turned off Javascript compression, and the error refined to
Timestamp: 12/7/12 7:55:46 AM
Error: TypeError: b.lang.contextmenu is undefined
Source File:
http://localhost/revo226/manager/components/ckeditor/assets/ckeditor/ckeditor.js
Line: 582
[ed. note: sottwell last edited this post 11 years, 5 months ago.]
Ahah! Works fine in Safari. Problem seems to be with Firefox 17.0.1 on OSX Lion.