BoostIO / BoostNote-Legacy

This repository is outdated and new Boost Note app is available! We've launched a new Boost Note app which supports real-time collaborative writing. https://github.com/BoostIO/BoostNote-App
Other
17.06k stars 1.46k forks source link

[BUG] After generating TOC, Coloring in Edit Mode are messed up. #2781

Open kyan001 opened 5 years ago

kyan001 commented 5 years ago

Current behavior

Writing some markdowns in Edit Mode including headers, and then generate Table Of Content, the coloring is not correct and folding of headers is gone.

image

image

Expected behavior

The code block and headers should be correctly colored after Table of Contents is generated.

Steps to reproduce

  1. write code blocks and headers
  2. generate TOC
  3. coloring and folding are messed up

Environment

ZeroX-DG commented 5 years ago

Maybe related with this? https://github.com/BoostIO/Boostnote/issues/2639

AamerShareef commented 5 years ago

Hi, Any updates on this? As the color in the edit mode also messes up without the generation of the TOC as well.

Thanks!