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

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

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