Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while adding a link in a table cell #443

Closed
ddmng opened this issue Jul 16, 2017 · 2 comments
Closed

Error while adding a link in a table cell #443

ddmng opened this issue Jul 16, 2017 · 2 comments

Comments

@ddmng
Copy link

ddmng commented Jul 16, 2017

Automatic error reporting triggered, no evidence of any error to me.

I was adding a link after testcell3 string in the reported test table. Once added [](./) the auto-suggest started proposing files. Typed some character and deleted with CTRL-Backspace then the red "Error has occurred" appeared at the bottom.

Test table:

| testheader1 | testheader2 | Testheader3      |
| ----------- | ----------- | ---------------- |
| Testcell1   | testcell2   | testcell3  |

The following error has occurred:

{
    "message": "Cannot read property 'top' of undefined",
    "version": "3.2.2",
    "os": "Linux 4.8",
    "path": "web/Editor/Editor.Autocomplete.js",
    "code": "t.top+=Math.ceil(this._editor.dimensions.lineHeight/2),this.element.style.display=\"\",this.element.style.top=t.top+\"px\",this.element.style.left=t.left+\"px\",this._editor.command.get(\"autocomplete-close\").enabled=!0,this._editor.command.get(\"autocomplete-prev-item\").enabled=!0,this._editor.command.get(\"autocomplete-next-item\").enabled=!0,this._editor.command.get(\"autocomplete-select-item\").enabled=!0}.bind(this)))}},",
    "line": 5,
    "column": 2423,
    "stack": [
        "at t.<anonymous> (web/Editor/Editor.Autocomplete.js:5:2423)",
        "at Object.e [as callback] (web/Events.js:5:773)",
        "at t.value (web/Events.js:5:1330)",
        "at t.value (web/Editor/Editor.js:5:17933)"
    ]
}
@astoilkov
Copy link
Contributor

This is now fixed in the latest Caret 3.2.3 release.

Closing this issue. Thanks for reporting.

@ddmng
Copy link
Author

ddmng commented Jul 19, 2017

It works without any error now.
thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants