Comments (6)
Fixed by adding this in your package.json and reinstall simple-code-editor
"overrides": {
"simple-code-editor": {
"highlight.js": "~11.8.0"
}
},
from simple-code-editor.
same problem.
But I rolled back to highlight.js 11.8.0 and it worked.
from simple-code-editor.
I am facing the same issue
from simple-code-editor.
@arnonrdp were you able to fix this?
from simple-code-editor.
No, @rohitasare7.
I replaced this lib with this one: https://github.surmon.me/vue-codemirror
from simple-code-editor.
Same problem here, I changing my dependencies on package.json to:
"highlight.js": "11.8.0",
"simple-code-editor": "^2.0.8"
Then just delete my yarn.lock (package.lock) and the node_modules
and finally install again the dependencies with yarn or npm!
Works perfectly and doesn't give any more errors in the console.
To more details see this: #45
from simple-code-editor.
Related Issues (20)
- Cursor Problem HOT 1
- Plans for integration hljs.highlightAuto()? HOT 1
- height="auto" doesn't work with max-height and scroll overflow
- nuxt 3 error import HOT 1
- Code Highlight is not working in Nuxt Project HOT 3
- Dont' see text highlight HOT 8
- Only renders lines within original height HOT 1
- Do simple-code-editor support to Vue2?. HOT 1
- code inside editor is not getting highlighted despite declaring theme and language HOT 5
- While the :line-nums is on it will cause this HOT 3
- Usage without highlight.js
- v-model doesn't allow two-way sync
- the cursor/actual text is always above the colored code text HOT 1
- Uncaught (in promise) TypeError: Cannot set property HighlightJS of #<Object> which has only a getter at pre.2432dfad.js:9:85709
- Cannot read properties of undefined (reading 'disabled') HOT 1
- Issue when using tab key on readOnly code editor
- :line-nums | Invalid array length HOT 1
- Highlighting not working HOT 2
- Completion suggestions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simple-code-editor.