ntohq / buefy-next

Lightweight UI components for Vue.js (Vue3) based on Bulma
https://v3.buefy.org
MIT License
106 stars 10 forks source link

Upgrade Highlight.js to Remove Deprecation Warnings #167

Closed wesdevpro closed 8 months ago

wesdevpro commented 8 months ago

Overview of the problem

https://highlightjs.readthedocs.io/en/latest/upgrade-11.html?highlight=HighLight%20Block#api-changes OS/Browser: Windows 10/Chrome

Description

Console logs about depreciation of a feature being used in an older version of highlight.js image

Steps to reproduce

  1. Navigate to https://deploy-preview-3962--buefy-org.netlify.app/ (for some reason I could only reproduce this on this PR's build)
  2. Open your browser dev tools
  3. In your browser's dev tools select Console
  4. You should see the following logs


### Expected behavior
No console log messages regarding highlight.js and deprecated features.
wesdevpro commented 8 months ago

highlightElement(element) has already been implemented on dev. image