Infusion wrapper for CodeMirror

Tony Atkins tony at raisingthefloor.org
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.... ;)

Cheers,


Tony

On Thu, Sep 3, 2015 at 7:00 PM, Clark, Colin <cclark at ocadu.ca> 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 (
> https://codemirror.net/). 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.
>
> https://github.com/colinbdclark/codemirror-infusion
>
> 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
> http://inclusivedesign.ca
>
> _______________________________________________________
> fluid-work mailing list - fluid-work at lists.idrc.ocadu.ca
> To unsubscribe, change settings or access archives,
> see http://lists.idrc.ocad.ca/mailman/listinfo/fluid-work
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idrc.ocad.ca/pipermail/fluid-work/attachments/20150908/c9d50546/attachment.html>


More information about the fluid-work mailing list