Using Merge.Js and Themes


#1

Hello,

I am trying to get themes to work with Merge.js but the view is in a div like merge.js has. For the themes I need to access CodeMirror.fromTextArea(), but because view is in a div how does this work exactly. How do I setup themes for merge.js

Thanks.


#2

Pass a theme option when creating the merge view, just like you would with a normal CodeMirror instance.