Infusion wrapper for CodeMirror

Tony Atkins tony at
Tue Sep 8 13:48:06 UTC 2015

Thanks very much for this, Colin.  I was so inspired by your example that I
created a Fluid sandbox (to be debuted shortly) using your component.

One thing I discovered is that Code Mirror 5.4.0 does not safely let you
work with mixed mode HTML editors and linting.  5.6.0 includes HTML
linting, so you can safely mix JSON, Javascript, and HTML components on the
same page.

I will demonstrate this all shortly once Antranig helps me tidy up the
default options for the sandbox.... ;)



On Thu, Sep 3, 2015 at 7:00 PM, Clark, Colin <cclark at> wrote:

> Hi all,
> For the past year or so, I’ve been maintaining a little module that
> consists of an Infusion component wrapper for the CodeMirror code editor (
> It was originally written by Antranig quite a
> while ago for a personal project, and I added some features, fixed a few
> bugs, and packaged it up for Bower and npm. It’s quite a useful way to
> integrate CodeMirror into Infusion-based applications using only a few
> lines of configuration. I’m using it extensively in Flocking.
> I’d like to contribute it to the Fluid Project Github organization. It
> will need a few tweaks (addition of the appropriate licenses and some unit
> tests), which I am willing to do prior to contribution.
> Any reason not to go ahead?
> Colin
> ---
> Colin Clark
> Lead Software Architect,
> Inclusive Design Research Centre, OCAD University
> _______________________________________________________
> fluid-work mailing list - fluid-work at
> To unsubscribe, change settings or access archives,
> see
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the fluid-work mailing list