javascript - How to get the clean "non-highlighted" code with prism.js -
i'm using prism.js highlight css in <pre contenteditable="true"> tag in settup similar this one.
on keyup copy code hidden <textarea> output highlighted text such as:
<span class="token selector">#description </span><span class="token punctuation">{</span><br> <span class="token property">cursor</span><span class="token punctuation">:</span> ... etc. is there way un-highlighted text able save in clean original format?
Comments
Post a Comment