marsprince/slate-vue

Is there a caching mechanism?

Closed this issue · 0 comments

image

decorate([node, path]) {
   const ranges = [];
  return ranges;
}

I set the code highlight before, but now I annotate all the code, and it still has the highlight function. Is there a cache function