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

Popular posts from this blog

android - Pass an Serializable object in AIDL -

How to provide Authorization & Authentication using Asp.net, C#? -

How to use Authorization & Authentication in Asp.net, C#? -