Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2010-06-30 02:10:11

newbie2000
New member
Registered: 2010-06-30
Posts: 2

Editor Grayed Out Inside Textarea

New to Xinha but did manage to install editor on my website and the editor is displaying within the textarea i selected, however, it is grayed-out.  And can not type inside the textarea. 

Can anyone advice me what i need to change.. Followed the NewbieGuide (http://xinha.webfactional.com/wiki/NewbieGuide) exactly and made no major changes to the my_config.js file.

Appreciate any help!

Offline

#2 2010-06-30 06:04:41

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: Editor Grayed Out Inside Textarea

FIrst, try in a different web browser.

If still no go, open up the javascript console of your browser and see if there are any errors.


James Sleeman

Offline

#3 2010-06-30 09:43:08

newbie2000
New member
Registered: 2010-06-30
Posts: 2

Re: Editor Grayed Out Inside Textarea

TY for your advice, gogo.   Was using Firefox but tested in IE and it seemed ok.  Re-tested in Firefox after adjusting Javascript advance settings and it is now working when i click inside textarea. 

Of interest, did check Firefox 'Error Console' and got these 2 errors:

1. 'Error: Permission denied for <my webstie> to get property HTMLDocument.open from <my website>.
    Source File: /xinha/XinhaCore.js
    Line: 1439'   

    Above pointed to this line: doc.open("text/html","replace");
     
    context:

    Xinha.freeLater(this,"_doc");
    doc.open("text/html","replace");
    var _c9="";


2. Error: Permission denied for <my website> to get property HTMLDocument.body from <my website>.
    Source File: /xinha/XinhaCore.js
    Line: 2592

    Pointed to this line: html=Xinha.getHTML(this._doc.body,false,this).trim();

    context:

    Xinha.prototype.getHTML=function(){
    var html="";
    switch(this._editMode){
    case "wysiwyg":
    if(!this.config.fullPage){
    html=Xinha.getHTML(this._doc.body,false,this).trim();
    }else{
    html=this.doctype+"\n"+Xinha.getHTML(this._doc.documentElement,true,this);
    }


As said before, the editor is working now in both browsers.  But should i make changes to XinhaCore.js where these error messages point?  Obviously do not know javascript.

Again, appreciate any feedback.

Last edited by newbie2000 (2010-06-30 20:47:09)

Offline

Board footer

Powered by FluxBB