| 23 | | _editor_url = "../"; // This is a path to the base xinha directory. |
| | 23 | // You must set _editor_url to the URL (including trailing slash) where |
| | 24 | // where xinha is installed, it's highly recommended to use an absolute URL |
| | 25 | // eg: _editor_url = "/path/to/xinha/"; |
| | 26 | // You may try a relative URL if you wish] |
| | 27 | // eg: _editor_url = "../"; |
| | 28 | // in this example we do a little regular expression to find the absolute path. |
| | 29 | _editor_url = document.location.href.replace(/examples\/full_example-body\.html.*/, '') |