Skip to content

Conversation

@IrinaFR
Copy link

@IrinaFR IrinaFR commented Jan 31, 2025

The problem: Syntax highlighting didn't work on the highlight version.js above 11.8.0.
Error text: "Element previously highlighted. To highlight again, first unset dataset.highlighted".
Issue #52

Solution: I use Highlight Auto along with highlightElement.

Also:

  1. Code Editor was rewritten to CompositionAPI, which made it more convenient to use the v-model.
  2. Emit '@paste' has been added, which passes the inserted value so that you can check it for your own purposes. The documentation describes this issue.
  3. Updated vue versions to '3.5.13' and' highlight.js 'before '11.11.0'

@vercel
Copy link

vercel bot commented Jan 31, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
simple-code-editor ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 31, 2025 5:11pm

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

Successfully merging this pull request may close these issues.

1 participant