3 users online. Create an account or sign in to join them.Users
Enable CodeMirror
This is an open discussion with 30 replies, filed under Extensions.
Search
I guess that’s where I found it. :-) I used it for the Safari Uploads extension.
The tabkey works. […] As far as I see, codemirror’s indentation will always be “space”-based, not “tab”-based.
Ah ok. Bugger, I like tabs more than spaces. :-)
Great extension, thanks for it.
I just have one issue: Each time I type a slash character (“/”) anywhere in the line, it puts four spaces at the beginning of the line. Is it a bug or a feature?
This extension seems to work well in Symphony 2.1.2. I do not know where else to ask for updating the Compatibility…
— mjf
I get this massege when i upload the codemirror folder:
Fatal error: Class 'extensionoleae-codemirror' not found in /home/duhpcne/publichtml/assistencia/symphony/lib/toolkit/class.extensionmanager.php on line 634
can enybody help?
If you check in the extension driver file to see if the foldername is the same as the extension classname, that may be the problem.
The folder needs to be the same name.
The problem was actually the folder name wich should be only "codemirror" and not "oleae-codemirror", i have to rename the folder when i download from github.
Thanks a lot.
Still working like a charm in Symphony 2.2.5, and very useful.
It seems that's there is a V.2 of Code mirror, codemirror2
May be an idea to adapt it for symphony like Oleae had done before.
Error console:
/xampp/symphony/symphony/blueprints/pages/template/home/undefined/extensions/codemirror/assets/js/editor.js/undefined/extensions/codemirror/assets/js/parsexml.js/:1Uncaught SyntaxError: Unexpected token <
Need some advice to fixed the broken code.
As of S2.3, Symphony.WEBSITE constant has been replaced by `Symphony.Context.get('root')'.
Create an account or sign in to comment.
Not documented per se, but take a look inside
symphony/assets/admin.jsat theSymphonyobject definition and you’ll find the WEBSITE constant at the top.