This repository was archived by the owner on Aug 23, 2020. It is now read-only.

Description
I have CODEMIRROR_JS_VAR_FORMAT set to "%s_editor", but when in I try to use it for inlineadmins, I'm getting a javascript syntax error because the field is named 'chunks-0-text', which creates a js var named chunks-0-text_editor, which is an invalid because of the hyphens.
I can't think of any sort of workaround, other than perhaps allowing a function to be specified rather than simply a format string, where the function could perform substitutions such as converting hyphens to underscores, etc..
Does this seem like a reasonable request?