You are not logged in.
Pages: 1
Superseded by plugin version now supporting Zen Coding.
A syntax highlighting admin theme using CodeMirror.
Requires Textpattern 4.4.1
—
Features
—
Instructions
—
Customisation
Note: editing theme files is a doddle with smd_admin_themes.
—
Possible to-dos
—
Version history
0.3 – April 2012
0.2 – April 2012
0.1 – April 2012
Last edited by spiffin (2012-05-26 20:09:19)
Offline
Interesting, thank you for sharing
Do you think it’s adaptable to the “write” tab with a full screen option and a syntax syntax highlighting for Textile ?
Offline
sacripant wrote:
Do you think it’s adaptable to the “write” tab with a full screen option and a syntax syntax highlighting for Textile ?
Hmm .. I’d have thought a WYSIWYG editor would be more suited to the Write tab.
Something like Aloha Editor perhaps?
Simon
Offline
Excellent work mrFinch.
It appears that codeMirror, is way better than editarea and in fact the “shiznitz”.
I use a heavily modified (to my own devious wine client ends) admin theme based on Sandspace so switching themes is not really an option. I tinkered with trying to hak hak_editarea to no avail (loaded but took on weird, non functional styling).
Perhaps you could bend you mad skills toward adapting what you learned with the theme, into a standalone plugin for the css form and page areas.
-Dale
Offline
mrdale wrote:
Excellent work mrFinch.
Perhaps you could bend you mad skills toward adapting what you learned with the theme, into a standalone plugin for the css form and page areas.
+1
Offline
OK, joebaich talked me into it… mrd_codeMirror
Offline
mrdale wrote:
Excellent work mrFinch.
Perhaps you could bend you mad skills toward adapting what you learned with the theme, into a standalone plugin for the css form and page areas.
Thanks Dale (and Joe) .. I did have a quick look at plugin possibilities .. but it’s quite fiddly getting to work with other (non-Classic) themes.
Offline
Just an advanced warning – the core themes (Remora and Classic) are undergoing a substantial CSS rewrite for Textpattern 4.5 (it’s coming in a mega-patch to the SVN in a few days time), along with some structural changes to the admin-side.
However, I’ll look into how this syntax highlighting could sit alongside that, in a non-theme specific way.
Offline
Pages: 1