1
luciorota
Where is CodeMirror class?
  • 2010/3/23 10:29

  • luciorota

  • Module Developer

  • Posts: 216

  • Since: 2007/4/20


Why not create and use a CodeMirror editor class for the new 2.5.0 system module?

2
Mamba
Re: Where is CodeMirror class?
  • 2010/3/23 15:51

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


It is already used in 2.5.0 as a template editor. See:

htdocs\Modules\System\Js\code_mirror\

3
luciorota
Re: Where is CodeMirror class?
  • 2010/3/23 16:19

  • luciorota

  • Module Developer

  • Posts: 216

  • Since: 2007/4/20


@mamba

yes sir, i know, but why not create an aditor class in /class/xoopseditor/... as any other editor?

it will be useful for all modules...

4
Mamba
Re: Where is CodeMirror class?
  • 2010/3/23 17:16

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


You can always add CodeMirror as just another editor and publish here for people to download it and use.

Is there anything special needed in 2.5.0 to make it work?

As for the 2.5.0 Team doing it, I think, this wouldn't be high on their priority list, and there is not that much demand for it, or at least I didn't see it so far.


5
luciorota
Re: Where is CodeMirror class?
  • 2010/3/25 21:22

  • luciorota

  • Module Developer

  • Posts: 216

  • Since: 2007/4/20


Done!

On XOOPS repository

http://xoops.svn.sourceforge.net/viewvc/xoops/ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/codemirror.tar.gz?view=tar&pathrev=4630

I hope this work will be useful on next XOOPS releases

BUT

I sincerely prefer EDITAREA editor...



6
Mamba
Re: Where is CodeMirror class?
  • 2010/3/30 11:34

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Thank you for doing it and sharing it with us!!!!

Login

Who's Online

163 user(s) are online (97 user(s) are browsing Support Forums)


Members: 0


Guests: 163


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits