-
Bug
-
Resolution: Fixed
-
Major
-
1.1.1
-
None
After switching to codemirror, the way to get the code from the textarea it replaces has changed and what used to work with codepress no longer works with codemirror. Tried to quickly look at this but there seems to be no easy fix, also because the codemirror's editor variable created under the hood by the dialogEditCode control for some reason is undefined to the code which runs the groovy script from the dialog. No problem occurs after the script has been saved and reloaded in the dialog. Then running it works.
- caused by
-
MAGNOLIA-3467 Replace codepress with codemirror as syntax highlighter in DialogEditCode
- Closed
- depends upon
-
MAGNOLIA-3771 Codemirror editor variable should be global so that it's accessible by any javascript
- Closed