Hi
Im working on large css files of which some files are over 2000 lines long. Its quite difficult having to establish where something is in the css file. is there away to show line numbers when viewing css files? also the new version of manager ive seemed to have lost the search box when pressing CTRL "f" in the content box, on the old version showed a half decent search box .
Cheers
-
☆ A M B ☆
- 24,524 Posts
By itself MODX only provides a basic HTML textarea. Install the Ace or CodeMirror extras for syntax highlighting, search-and-replace, line numbers, and other code editor features.
-
☆ A M B ☆
- 24,524 Posts
You also may be interested in this method of using resources to edit small blocks of CSS, saving them all into a single minified CSS file. It's a mashup of Donald Atkinson's RO.IDEs concept of using MODX resources as an IDE, and the CssSweet plugin to concatenate and minify the CSS from the resources.
ok thanks scottwell for your quick response, i will give the plug-ins a go
-
☆ A M B ☆
- 24,524 Posts
If you try that custom saveContextCSS plugin, make sure to disable the default cssSweet saveCustomCss plugin.