modmore / CodeMirror

Integration for CodeMirror into MODx Revolution
12 stars 7 forks source link

After update to Revo3rev#7058, and codemirror v.1.0.0pl, codemirror doesn't work anymore :( #3

Closed phron closed 14 years ago

phron commented 14 years ago

Hello Shaun,

I updated Revo to rev7058, and now Codemirror doesn't work anymore. I tried to increase the loader-delay to 900, no change... I also cleared my site cache and my browsers caches, same thing, codemirror doesn't work anymore... Same behaviour on Chrome and FF, I did not try with IE...

Cheers

splittingred commented 14 years ago

Hi anso. It's working fine on mine. What kind of JS errors are you getting? Do you have the latest CodeMirror?

phron commented 14 years ago

Hello Shaun, I got it ! It works ! What it happened : when I updated codemirror (via Package Management) OR when I updated Revo (via SVN) , the system setting "wich_editor" has been reset to blank (empty) I don't know why but it has... After searching few hours I thought about system setting, the searching by key 'editor' instead of codemirror gave me the solution... Sorry for this alert.. And thanks again for your great job on Revo... Cheers

phron commented 14 years ago

The culprit system setting was "wich_element_editor" (not "wich_editor" as I wrote previously)

splittingred commented 14 years ago

Yeah I need to update CodeMirror's package to set that to CodeMirror on install.