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

Syntax Highlighting Broken #122

Open
BiatuAutMiahn opened this issue Nov 18, 2018 · 2 comments
Open

Syntax Highlighting Broken #122

BiatuAutMiahn opened this issue Nov 18, 2018 · 2 comments

Comments

@BiatuAutMiahn
Copy link

FIle: js/editor.js
Line: 548
Error: Uncaught TypeError: Cannot read property 'Mode' of undefined.

@jarenzhan
Copy link

me too!
nextcloud version: 15.0.2
files_texteditor version: 2.7.0
console output:

merged.js?v=9935e8b9-132:548 Uncaught TypeError: Cannot read property 'Mode' of undefined
    at Object.<anonymous> (merged.js?v=9935e8b9-132:548)
    at Object.<anonymous> (core.js?v=9935e8b9-132:2)
    at j (core.js?v=9935e8b9-132:2)
    at Object.fireWith [as resolveWith] (core.js?v=9935e8b9-132:2)
    at Object.e.(/apps/files/anonymous function) [as resolve] (https://127.0.0.1/core/vendor/core.js?v=9935e8b9-132:2:28718)
    at Object.success (merged-template-prep…v=9935e8b9-132:1710)
    at j (core.js?v=9935e8b9-132:2)
    at Object.fireWith [as resolveWith] (core.js?v=9935e8b9-132:2)
    at x (core.js?v=9935e8b9-132:4)
    at XMLHttpRequest.<anonymous> (core.js?v=9935e8b9-132:4)

@colarocker
Copy link

It appears to be fixed in the newest master, tho it's for nextcloud version 16. Tried it through changing the dependencies in the info file from 16 to 15, where texthighlighting is working again, but you will get different bugs like mouse-wheel scrolling is broken. Hope it will all work again in NC16.

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

No branches or pull requests

3 participants